From e090cc2c2db77d16123a6b1c3b900fbf6ea224ff Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Mon, 1 Jun 2020 18:57:42 -0400
Subject: added make dist
---
Makefile | 10 ++++++++++
1 file changed, 10 insertions(+)
(limited to 'Makefile')
diff --git a/Makefile b/Makefile
index 65f55de..a384f98 100644
--- a/Makefile
+++ b/Makefile
@@ -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 $@
--
cgit