From 711194ab9a71600aef45e157e49306dfc29563f8 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Tue, 2 Jun 2020 16:59:48 -0400 Subject: Added a source zip file to the unix makefile --- makefile.gnu | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/makefile.gnu b/makefile.gnu index 2193e13..15cb919 100644 --- a/makefile.gnu +++ b/makefile.gnu @@ -13,6 +13,7 @@ IDIR= LDIR= +ZIPFILE=lr87-src-$(shell date +%Y%m%d) OPTFLAGS= -g @@ -155,5 +156,10 @@ $(DESTDIR)/share/lr87/LICENSE.txt: LICENSE.txt $(DESTDIR)/share/lr87/README.md: README.md mkdir -p $(DESTDIR)/share/lr87 cp README.md $(DESTDIR)/share/lr87 - + +$(ZIPFILE): + zip -9 $(ZIPFILE) *.f90 makefile.gnu LICENSE.txt README.md gemini.prj gemini-windows.prj -x tes*.f90 + +zip: $(ZIPFILE) + install: $(DESTDIR)/bin/lr87 $(DESTDIR)/share/lr87/LICENSE.txt $(DESTDIR)/share/lr87/README.md -- cgit v1.2.3