diff options
author | Roland Reichwein <mail@reichwein.it> | 2021-02-01 17:44:06 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2021-02-01 17:44:06 +0100 |
commit | 311faedc84f28f525839be7f95c56f726cc875f6 (patch) | |
tree | 6432c3b5606bfcadec7cb790ac359a0882f32fc0 /Makefile | |
parent | f34a0aa3a2d46d349a41c0b28939176791c2efbe (diff) |
Add "dist" target to Makefile
Diffstat (limited to 'Makefile')
-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)) |