summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christopher Powell 2002-11-15 03:55:27 +0000
committerGravatar Christopher Powell 2002-11-15 03:55:27 +0000
commit5fdba37f40131f2803c056c071a2a6eafddbcbcb (patch)
tree4337796dfe0d1110c8de3be8f9ba9c04274f6b3c /Makefile
parentadc67fa41225b82d63828f6a7bb7c187783125ca (diff)
Further changes to the documentation and how it is generated.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 14 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 845b225..0c7a7a3 100644
--- a/Makefile
+++ b/Makefile
@@ -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 @@
8APACHEINST = /usr/local/Apache 8APACHEINST = /usr/local/Apache
9MYSQLLIBS = /usr/lib 9MYSQLLIBS = /usr/lib
10MYSQLHDRS = /usr/include/mysql 10MYSQLHDRS = /usr/include/mysql
11#MODSSLHDRS = /usr/local/src/apache_1.3.27-dso/src/modules/ssl 11MODSSLHDRS = /usr/local/src/apache_1.3.27-dso/src/modules/ssl
12 12
13APACHESOURCE = /usr/local/src/apache_1.3.27-dso 13APACHESOURCE = /usr/local/src/apache_1.3.27-dso
14OPNSSLHDRS = /usr/include/openssl 14OPNSSLHDRS = /usr/include/openssl
@@ -26,9 +26,10 @@ CC = gcc
26INSTALL = /usr/bin/install -m 664 26INSTALL = /usr/bin/install -m 664
27RM = /bin/rm 27RM = /bin/rm
28LYX = /usr/bin/lyx 28LYX = /usr/bin/lyx
29LATEX = /usr/bin/latex
29DVIPS = /usr/bin/dvips 30DVIPS = /usr/bin/dvips
30LINKS = /usr/bin/links 31LINKS = /usr/bin/links
31LATEX2HTML=/usr/bin/latex2html 32L2H = /usr/local/bin/latex2html
32 33
33ifdef MODSSLHDRS 34ifdef 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
73distro: all 74distro: 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
79documentation: Documentation/documentation.lyx 80documentation: 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