summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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)