From 940d8f0440e007a2971131065d1a203f9df94708 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Wed, 3 Jun 2020 01:24:38 -0400
Subject: forgot to remove edited format.tex from archive
---
Makefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
(limited to 'Makefile')
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)
--
cgit