diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-06-01 18:57:42 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-06-01 18:57:42 -0400 |
commit | e090cc2c2db77d16123a6b1c3b900fbf6ea224ff (patch) | |
tree | 3f0d9d3dca5beb4ca8cc1d0395f6b14c7a365f63 /Makefile | |
parent | ef4438babb818d7ade3631d3fa881e5480ee2ca0 (diff) |
added make dist
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,6 +1,7 @@ .POSIX: DESTDIR=/home/minimun/minimun +VER=1.0 minimun: minimun.orig sed 's:%%DEST%%:$(DESTDIR):' minimun.orig > minimun @@ -16,5 +17,14 @@ uninstall: rm $(DESTDIR)/{minimun,format.tex,logo.png} rmdir -p $(DESTDIR) +SRC = format.tex LICENCE logo.png Makefile minimun.ini minimun.orig\ +nginx.example.conf README www +dist: minimun.tar.gz +minimun.tar.gz: $(SRC) + mkdir minimun-$(VER) + cp -r -t minimun-$(VER) $(SRC) + tar -czf minimun.tar.gz minimun-$(VER) + rm -rf minimun-$(VER) + $(DESTDIR): mkdir -p $@ |