diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-07 12:43:41 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-07 12:43:41 +0100 |
commit | ac54d689b48a6f97ab592230d74ee6bd64fc1bd5 (patch) | |
tree | ddfa2280165d9065a0f6ecf933632a6ffa78f6ac | |
parent | 05d1823e1220a6bdf5f31990462b66ee60c0c9d1 (diff) |
Added "make dist"
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -77,6 +77,20 @@ test: ADD_DEP=Makefile +DISTFILES=$(shell git ls-files 2>/dev/null) +ifeq ($(DISTFILES),) +DISTFILES= \ + +endif + +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 + # misc --------------------------------------------------- clean: -rm -f *.o *.a *.d $(SONAME1) $(SONAME2) $(SONAME3) |