summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 24 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 191e8b0..088d7b2 100644
--- a/Makefile
+++ b/Makefile
@@ -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))