diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 27 |
1 files changed, 14 insertions, 13 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | # $Id: Makefile,v 1.13 2002/11/14 22:52:54 helios Exp $ | 1 | # $Id: Makefile,v 1.14 2002/11/15 03:55:25 helios Exp $ |
| 2 | 2 | ||
| 3 | ##################################### | 3 | ##################################### |
| 4 | # Important: | 4 | # Important: |
| @@ -8,7 +8,7 @@ | |||
| 8 | APACHEINST = /usr/local/Apache | 8 | APACHEINST = /usr/local/Apache |
| 9 | MYSQLLIBS = /usr/lib | 9 | MYSQLLIBS = /usr/lib |
| 10 | MYSQLHDRS = /usr/include/mysql | 10 | MYSQLHDRS = /usr/include/mysql |
| 11 | #MODSSLHDRS = /usr/local/src/apache_1.3.27-dso/src/modules/ssl | 11 | MODSSLHDRS = /usr/local/src/apache_1.3.27-dso/src/modules/ssl |
| 12 | 12 | ||
| 13 | APACHESOURCE = /usr/local/src/apache_1.3.27-dso | 13 | APACHESOURCE = /usr/local/src/apache_1.3.27-dso |
| 14 | OPNSSLHDRS = /usr/include/openssl | 14 | OPNSSLHDRS = /usr/include/openssl |
| @@ -26,9 +26,10 @@ CC = gcc | |||
| 26 | INSTALL = /usr/bin/install -m 664 | 26 | INSTALL = /usr/bin/install -m 664 |
| 27 | RM = /bin/rm | 27 | RM = /bin/rm |
| 28 | LYX = /usr/bin/lyx | 28 | LYX = /usr/bin/lyx |
| 29 | LATEX = /usr/bin/latex | ||
| 29 | DVIPS = /usr/bin/dvips | 30 | DVIPS = /usr/bin/dvips |
| 30 | LINKS = /usr/bin/links | 31 | LINKS = /usr/bin/links |
| 31 | LATEX2HTML=/usr/bin/latex2html | 32 | L2H = /usr/local/bin/latex2html |
| 32 | 33 | ||
| 33 | ifdef MODSSLHDRS | 34 | ifdef MODSSLHDRS |
| 34 | SSLDEF = -DWANT_SSL_LOGGING | 35 | SSLDEF = -DWANT_SSL_LOGGING |
| @@ -70,7 +71,7 @@ clean: | |||
| 70 | $(RM) -f Documentation/*.ps | 71 | $(RM) -f Documentation/*.ps |
| 71 | $(RM) -f Documentation/*.txt | 72 | $(RM) -f Documentation/*.txt |
| 72 | 73 | ||
| 73 | distro: all | 74 | distro: documentation |
| 74 | cp -f CHANGELOG $(APACHEINST)/html/mod_log_sql/ | 75 | cp -f CHANGELOG $(APACHEINST)/html/mod_log_sql/ |
| 75 | cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS mod_log_sql/; $(INSTALL) mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz | 76 | cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS mod_log_sql/; $(INSTALL) mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz |
| 76 | $(RM) $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz | 77 | $(RM) $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz |
| @@ -79,19 +80,19 @@ distro: all | |||
| 79 | documentation: Documentation/documentation.lyx | 80 | documentation: Documentation/documentation.lyx |
| 80 | @echo "Creating LaTeX docs..." | 81 | @echo "Creating LaTeX docs..." |
| 81 | @$(LYX) --export latex Documentation/documentation.lyx 2>/dev/null | 82 | @$(LYX) --export latex Documentation/documentation.lyx 2>/dev/null |
| 82 | @echo "Creating DVI docs..." | 83 | @echo "Creating cross-references...run 1" |
| 83 | @$(LYX) --export dvi Documentation/documentation.lyx 2>/dev/null | 84 | @cd Documentation ; $(LATEX) documentation.tex >/dev/null 2>&1 |
| 85 | @echo "Creating cross-references...run 2" | ||
| 86 | @cd Documentation ; $(LATEX) documentation.tex >/dev/null 2>&1 | ||
| 87 | @echo "Creating cross-references...run 3" | ||
| 88 | @cd Documentation ; $(LATEX) documentation.tex >/dev/null 2>&1 | ||
| 84 | @echo "Creating PostScript docs..." | 89 | @echo "Creating PostScript docs..." |
| 85 | @$(DVIPS) Documentation/documentation.dvi -o Documentation/documentation.ps 2>/dev/null | 90 | @$(DVIPS) Documentation/documentation.dvi -o Documentation/documentation.ps 2>/dev/null |
| 86 | @echo "Creating HTML docs..." | 91 | @echo "Creating HTML docs..." |
| 87 | @$(LATEX2HTML) -show_section_numbers -split 4 -navigation -noindex_in_navigation -contents_in_navigation -dir Documentation/HTML Documentation/documentation.tex >/dev/null 2>&1 | 92 | @$(L2H) -show_section_numbers -split 4 -navigation -noindex_in_navigation -contents_in_navigation -dir Documentation/HTML Documentation/documentation.tex >/dev/null 2>&1 |
| 88 | @echo "Creating plain text docs..." | 93 | @echo "Creating plain text docs..." |
| 89 | @$(LATEX2HTML) -show_section_numbers -split 0 -dir Documentation/ Documentation/documentation.tex >/dev/null 2>&1 | 94 | @$(L2H) -show_section_numbers -split 0 -dir Documentation/ Documentation/documentation.tex >/dev/null 2>&1 |
| 90 | @$(LINKS) -dump Documentation/documentation.html > Documentation/documentation.txt 2>/dev/null | 95 | @$(LINKS) -dump Documentation/documentation.html > Documentation/documentation.txt 2>/dev/null |
| 91 | @echo "Cleaning up..." | 96 | @echo "Cleaning up..." |
| 92 | @$(RM) -f Documentation/*.html Documentation/WARNINGS Documentation/*.pl Documentation/*.aux Documentation/*.css Documentation/*.toc Documentation/*.log | 97 | @$(RM) -f Documentation/*.html Documentation/WARNINGS Documentation/*.pl Documentation/*.aux Documentation/*.css Documentation/*.toc Documentation/*.log |
| 93 | @$(RM) -f Documentation/HTML/WARNINGS Documentation/HTML/*.pl | 98 | @$(RM) -f Documentation/HTML/WARNINGS Documentation/HTML/*.pl |
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | \ No newline at end of file | ||
