diff options
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 |