aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-06-02 22:33:03 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-06-02 22:33:38 -0400
commit85d87d47f870c692772276345655ebf8e2da7ed5 (patch)
tree09facd792d891f5cf41f775b16c62ac9e1f97e0d /Makefile
parent84ce497a7743bc41bb60f5c0f01453e40a9d377b (diff)
restructuring and perliness
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index dc7175d..aed056f 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,13 @@
DESTDIR=/home/minimun/minimun
VER=1.0
-minimun: minimun.orig
- sed 's:%%DEST%%:$(DESTDIR):' minimun.orig > minimun
+minimun: orig/minimun
+ sed 's:%%DEST%%:$(DESTDIR):' orig/minimun > minimun
chmod +x minimun
+format.tex: orig/format.tex
+ sed 's:%%DEST%%:$(DESTDIR):' orig/format.tex > format.tex
+
clean:
rm minimun
@@ -17,7 +20,7 @@ uninstall:
rm $(DESTDIR)/{minimun,format.tex,logo.png}
rmdir -p $(DESTDIR)
-SRC = format.tex LICENCE logo.png Makefile minimun.ini minimun.orig\
+SRC = format.tex LICENCE logo.png Makefile minimun.ini orig\
nginx.example.conf README www minimun.spec
dist: minimun.tar.gz
minimun.tar.gz: $(SRC)