X-Git-Url: https://git.distorted.org.uk/~mdw/chopwood/blobdiff_plain/ffd791dac34ccbaac654ee4f3b3fbe9dbf4bc97a..efe96413119f689752c6395c68531b17b70c2743:/Makefile diff --git a/Makefile b/Makefile index a19c846..3ccd4e5 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,7 @@ VERSION = $(shell ./get-version) ## The main source files. SOURCES += chpwd +SOURCES += agpl.py SOURCES += backend.py SOURCES += cgi.py SOURCES += cmdutil.py @@ -39,6 +40,7 @@ SOURCES += config.py SOURCES += crypto.py SOURCES += dbmaint.py SOURCES += format.py +SOURCES += hash.py SOURCES += httpauth.py SOURCES += operation.py SOURCES += output.py @@ -115,4 +117,23 @@ CLEANFILES += $(TARGETS) 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 --------------------------------------------------