aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-06-03 01:24:38 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-06-03 01:25:53 -0400
commit940d8f0440e007a2971131065d1a203f9df94708 (patch)
treee3688282522bf99e7e971514b711f483a34a5a8a /Makefile
parent91336bc346dae1ffb3fc46b775cb7a86a42488bb (diff)
forgot to remove edited format.tex from archive
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aed056f..dff7921 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,8 @@
DESTDIR=/home/minimun/minimun
VER=1.0
+all: format.tex minimun
+
minimun: orig/minimun
sed 's:%%DEST%%:$(DESTDIR):' orig/minimun > minimun
chmod +x minimun
@@ -13,16 +15,19 @@ format.tex: orig/format.tex
clean:
rm minimun
-install: $(DESTDIR) minimun
+install: $(DESTDIR) all
cp -t $(DESTDIR) minimun format.tex logo.png
uninstall:
rm $(DESTDIR)/{minimun,format.tex,logo.png}
rmdir -p $(DESTDIR)
-SRC = format.tex LICENCE logo.png Makefile minimun.ini orig\
+SRC =LICENCE logo.png Makefile minimun.ini orig\
nginx.example.conf README www minimun.spec
dist: minimun.tar.gz
+ mkdir -pv ~/rpmbuild/SOURCES
+ cp minimun.tar.gz ~/rpmbuild/SOURCES
+ rpmbuild minimun.spec -ba
minimun.tar.gz: $(SRC)
mkdir minimun-$(VER)
cp -r -t minimun-$(VER) $(SRC)