summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
82d4f64)
I don't think source distributions are really the right answer for
Chopwood, but it's a tradition, and it doesn't seem like a harmful one.
For the record: you're expected to run Chopwood out of a Git clone; and
users should get distributions from you using the AGPL-required `source'
command.
clean::; rm -f $(CLEANFILES)
.PHONY: clean
clean::; rm -f $(CLEANFILES)
.PHONY: clean
+###--------------------------------------------------------------------------
+### Distributions.
+
+distdir = $(PACKAGE)-$(VERSION)
+
+DISTFILES = $(SOURCES)
+DISTFILES += AGPLv3
+DISTFILES += Makefile get-version
+DISTFILES += userv.rc
+
+dist:
+ rm -rf $(distdir)
+ mkdir $(distdir)
+ cp $(DISTFILES) $(distdir)
+ echo $(VERSION) >$(distdir)/RELEASE
+ tar cvfz $(distdir).tar.gz $(distdir)
+ rm -rf $(distdir)
+.PHONY: dist
+
###----- That's all, folks --------------------------------------------------
###----- That's all, folks --------------------------------------------------