diff options
| -rw-r--r-- | Makefile | 25 | 
1 files changed, 24 insertions, 1 deletions
| @@ -113,6 +113,29 @@ $(DISTROS): deb-src  debs: $(DISTROS) -.PHONY: all test clean install dep deb deb-src $(DISTROS) +DISTFILES= \ +	   $(SRC) \ +	   src/file.h \ +	   include/unicode.h \ +           debian/control \ +           debian/compat \ +           debian/copyright \ +           debian/source \ +           debian/source/format \ +           debian/changelog \ +           debian/README.Debian \ +           debian/rules \ +           debian/unicode-tools.install \ +           debian/libunicode-dev.install + +dist: clean +	rm -rf $(PROJECTNAME)-$(VERSION) +	mkdir $(PROJECTNAME)-$(VERSION) +	cp --parents -r $(DISTFILES) $(PROJECTNAME)-$(VERSION) +	tar cfJ ../$(PROJECTNAME)-$(VERSION).tar.xz $(PROJECTNAME)-$(VERSION) +	rm -rf $(PROJECTNAME)-$(VERSION) +	ls -l ../$(PROJECTNAME)-$(VERSION).tar.xz + +.PHONY: all test clean install dep deb debs deb-src dist $(DISTROS)  -include $(wildcard $(SRC:.cpp=.d)) | 
