diff options
author | ivan <ivan> | 2001-10-29 17:17:58 +0000 |
---|---|---|
committer | ivan <ivan> | 2001-10-29 17:17:58 +0000 |
commit | f017443890cd20191a038d3c883811ced97e3361 (patch) | |
tree | 1ce8cb36ecffe50ffd0852d4d477a76a514655d2 /Makefile | |
parent | 91387f8f489e561deaf1de052d80ef800a4970a3 (diff) |
automate a tiny bit more
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
1 files changed, 23 insertions, 2 deletions
@@ -1,7 +1,8 @@ #!/usr/bin/make -default: - @echo "supported targets: aspdocs masondocs alldocs clean" +help: + @echo "supported targets: aspdocs masondocs alldocs perl-modules" + @echo " install-perl-modules install clean" aspdocs: httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* httemplate/*/*/*/*/* rm -rf aspdocs @@ -18,6 +19,26 @@ masondocs: httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* httem alldocs: aspdocs masondocs +FS/Makefile: + cd FS + perl Makefile.PL + +perl-modules: + cd FS; \ + [ -e Makefile ] || perl Makefile.PL; \ + make + +install-perl-modules: perl-modules + cd FS; \ + make install + +install: install-perl-modules + +deploy: install + /etc/init.d/apache restart + clean: rm -rf aspdocs masondocs + cd FS + make clean |