summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-05-03 12:12:50 +0200
committerRoland Reichwein <mail@reichwein.it>2020-05-03 12:12:50 +0200
commitf983e1f2beec4a8debf396cc15a4f0cd2be0f8d4 (patch)
tree2f54d35ae3c58d9a1e62423decd9f82028359e4b /Makefile
parent21a066b4b972bd055b424a946ff1f80a939443c3 (diff)
Fix "make dist"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d0a00a0..e8b88a3 100644
--- a/Makefile
+++ b/Makefile
@@ -241,7 +241,11 @@ DISTFILES= \
plugins/statistics/statistics.cpp
dist: clean
- tar cfJ ../$(PROJECTNAME)-$(VERSION).tar.xz $(DISTFILES)
+ 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: clean all zip install deb deb-src debs all $(DISTROS)