diff options
author | Robert Alessi <alessi@robertalessi.net> | 2022-05-23 09:17:49 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2022-05-23 09:17:49 +0200 |
commit | 0aef7f3ecb1a36f6665b10004f996a77630336b6 (patch) | |
tree | adb9a4b6a110daeabce5e7bb94790ba106edee8e /Makefile | |
parent | bf7e0724b29764c3c08e85db7735919b4b2a9283 (diff) | |
download | ekdosis-0aef7f3ecb1a36f6665b10004f996a77630336b6.tar.gz |
added AUTHORS file and a new rule for HAL
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -9,7 +9,7 @@ HOMEDIR := $$HOME | |||
9 | SAMPLES := samples | 9 | SAMPLES := samples |
10 | 10 | ||
11 | exts := md html ins dtx el | 11 | exts := md html ins dtx el |
12 | files := COPYING | 12 | files := AUTHORS COPYING |
13 | findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)") | 13 | findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)") |
14 | findfiles := $(foreach file,$(files), -or -iname "$(file)") | 14 | findfiles := $(foreach file,$(files), -or -iname "$(file)") |
15 | 15 | ||
@@ -49,7 +49,6 @@ samples: clean sty | |||
49 | 49 | ||
50 | clean: testsamples | 50 | clean: 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 | ||
110 | hal: clean | ||
111 | zip -Drq $(PWD)/$(NAME)-$(VERS).zip * | ||
112 | |||
111 | package: distclean all | 113 | package: 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 |