diff options
author | Christopher Powell | 2002-11-14 22:52:56 +0000 |
---|---|---|
committer | Christopher Powell | 2002-11-14 22:52:56 +0000 |
commit | adc67fa41225b82d63828f6a7bb7c187783125ca (patch) | |
tree | a31d9042810dea582ac80dfb916fdff29f4dfd69 /Makefile | |
parent | 8d4d37b84277d92c8edb756e78aec4fdcbce4b42 (diff) |
More documentation work on the way to final 1.17 release.
Additional work on the Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 38 |
1 files changed, 32 insertions, 6 deletions
@@ -1,4 +1,4 @@ | |||
1 | # $Id: Makefile,v 1.12 2002/11/14 03:51:34 helios Exp $ | 1 | # $Id: Makefile,v 1.13 2002/11/14 22:52:54 helios Exp $ |
2 | 2 | ||
3 | ##################################### | 3 | ##################################### |
4 | # Important: | 4 | # Important: |
@@ -25,6 +25,10 @@ APXSOPTS = -Wc,-O2 -Wc,-Wall -Wc,-DEAPI | |||
25 | CC = gcc | 25 | 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 | ||
29 | DVIPS = /usr/bin/dvips | ||
30 | LINKS = /usr/bin/links | ||
31 | LATEX2HTML=/usr/bin/latex2html | ||
28 | 32 | ||
29 | ifdef MODSSLHDRS | 33 | ifdef MODSSLHDRS |
30 | SSLDEF = -DWANT_SSL_LOGGING | 34 | SSLDEF = -DWANT_SSL_LOGGING |
@@ -37,7 +41,7 @@ all: | |||
37 | @echo "You can choose to make mod_log_sql as a static or dynamic module." | 41 | @echo "You can choose to make mod_log_sql as a static or dynamic module." |
38 | @echo "Either 'make dso' or 'make static'." | 42 | @echo "Either 'make dso' or 'make static'." |
39 | @echo | 43 | @echo |
40 | @echo "Please read the INSTALL file carefully!" | 44 | @echo "Please first read the documentation carefully!" |
41 | 45 | ||
42 | dso: mod_log_sql.so | 46 | dso: mod_log_sql.so |
43 | 47 | ||
@@ -60,12 +64,34 @@ statinstall: static | |||
60 | 64 | ||
61 | clean: | 65 | clean: |
62 | $(RM) -rf *.o *.so | 66 | $(RM) -rf *.o *.so |
67 | $(RM) -f Documentation/HTML/*.html Documentation/HTML/*.css | ||
68 | $(RM) -f Documentation/*.tex | ||
69 | $(RM) -f Documentation/*.dvi | ||
70 | $(RM) -f Documentation/*.ps | ||
71 | $(RM) -f Documentation/*.txt | ||
63 | 72 | ||
64 | distro: all | 73 | distro: all |
65 | cp -f INSTALL $(APACHEINST)/html/mod_log_sql/ | ||
66 | cp -f README $(APACHEINST)/html/mod_log_sql/ | ||
67 | cp -f CHANGELOG $(APACHEINST)/html/mod_log_sql/ | 74 | cp -f CHANGELOG $(APACHEINST)/html/mod_log_sql/ |
68 | cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS mod_log_sql/; $(INSTALL) mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz | 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 |
69 | rm -f $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz | 76 | $(RM) $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz |
70 | ln -s mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz | 77 | ln -s mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz |
71 | 78 | ||
79 | documentation: Documentation/documentation.lyx | ||
80 | @echo "Creating LaTeX docs..." | ||
81 | @$(LYX) --export latex Documentation/documentation.lyx 2>/dev/null | ||
82 | @echo "Creating DVI docs..." | ||
83 | @$(LYX) --export dvi Documentation/documentation.lyx 2>/dev/null | ||
84 | @echo "Creating PostScript docs..." | ||
85 | @$(DVIPS) Documentation/documentation.dvi -o Documentation/documentation.ps 2>/dev/null | ||
86 | @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 | ||
88 | @echo "Creating plain text docs..." | ||
89 | @$(LATEX2HTML) -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 | ||
91 | @echo "Cleaning up..." | ||
92 | @$(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 | ||
94 | |||
95 | |||
96 | |||
97 | \ No newline at end of file | ||