From 85d87d47f870c692772276345655ebf8e2da7ed5 Mon Sep 17 00:00:00 2001
From: Holden Rohrer <hr@hrhr.dev>
Date: Tue, 2 Jun 2020 22:33:03 -0400
Subject: restructuring and perliness

---
 Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'Makefile')

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)
-- 
cgit