aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2022-05-23 09:17:49 +0200
committerRobert Alessi <alessi@robertalessi.net>2022-05-23 09:17:49 +0200
commit0aef7f3ecb1a36f6665b10004f996a77630336b6 (patch)
treeadb9a4b6a110daeabce5e7bb94790ba106edee8e /Makefile
parentbf7e0724b29764c3c08e85db7735919b4b2a9283 (diff)
downloadekdosis-0aef7f3ecb1a36f6665b10004f996a77630336b6.tar.gz
added AUTHORS file and a new rule for HAL
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 87aa1a7..6f04b6e 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ HOMEDIR := $$HOME
9SAMPLES := samples 9SAMPLES := samples
10 10
11exts := md html ins dtx el 11exts := md html ins dtx el
12files := COPYING 12files := AUTHORS COPYING
13findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)") 13findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)")
14findfiles := $(foreach file,$(files), -or -iname "$(file)") 14findfiles := $(foreach file,$(files), -or -iname "$(file)")
15 15
@@ -49,7 +49,6 @@ samples: clean sty
49 49
50clean: testsamples 50clean: testsamples
51 @ echo "Cleaning $(NAME) directory" 51 @ echo "Cleaning $(NAME) directory"
52 rm -rf auto
53 rm -f $(NAME).bib $(PWD)/TMP/*.bib 52 rm -f $(NAME).bib $(PWD)/TMP/*.bib
54 rm -rf .backup 53 rm -rf .backup
55 find -iname "*~" -or -iname "*.pdf" -or -iname "*_out*.tex" | xargs rm -rf 54 find -iname "*~" -or -iname "*.pdf" -or -iname "*_out*.tex" | xargs rm -rf
@@ -108,6 +107,9 @@ zip: all
108 zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)/{$(files),samples,README.md,$(NAME).{pdf,sty,lua,el}} 107 zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)/{$(files),samples,README.md,$(NAME).{pdf,sty,lua,el}}
109 rm $(NAME) 108 rm $(NAME)
110 109
110hal: clean
111 zip -Drq $(PWD)/$(NAME)-$(VERS).zip *
112
111package: distclean all 113package: distclean all
112 mkdir $(NAME)/ 114 mkdir $(NAME)/
113 cp Makefile README.md $(NAME).{ins,dtx,pdf,el} $(NAME)/ 115 cp Makefile README.md $(NAME).{ins,dtx,pdf,el} $(NAME)/
@@ -125,4 +127,4 @@ package: distclean all
125 rm -rf $(NAME)/ 127 rm -rf $(NAME)/
126 128
127.SILENT: testsamples 129.SILENT: testsamples
128.PHONY: all clean distclean pandoc inst local uninst install uninstall zip package samples testsamples 130.PHONY: all clean distclean pandoc inst local uninst install uninstall zip hal package samples testsamples