summaryrefslogtreecommitdiffstatsabout
path: root/Makefile
diff options
context:
space:
mode:
authorChristopher Powell <chris@grubbybaby.com>2002-12-10 20:37:29 (GMT)
committer Christopher Powell <chris@grubbybaby.com>2002-12-10 20:37:29 (GMT)
commita82db79fcf12e4a414c0a0862ed38b9e3a964c70 (patch)
tree0ae9486ca9f56b3b90df3232a3acfe1d5681b941 /Makefile
parent478975f1c8767c7ae2abb284ecda41185df32f11 (diff)
*** empty log message ***
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 6f69b50..eb4ffdf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
1# $Id: Makefile,v 1.18 2002/12/10 19:43:21 helios Exp $ 1# $Id: Makefile,v 1.19 2002/12/10 20:37:28 helios Exp $
2 2
3########################################################################### 3###########################################################################
4# Important: 4# Important:
@@ -12,19 +12,19 @@ APXS = $(APACHEINST)/bin/apxs
12MYSQLLIBS = /usr/lib 12MYSQLLIBS = /usr/lib
13MYSQLHDRS = /usr/include/mysql 13MYSQLHDRS = /usr/include/mysql
14 14
15#MODSSLHDRS = /usr/local/src/apache_1.3.27-dso/src/modules/ssl 15MODSSLHDRS = /usr/local/src/apache_1.3.27-dso/src/modules/ssl
16#DB1HDRS = /usr/include/db1 16DB1HDRS = /usr/include/db1
17 17
18########################################################################### 18###########################################################################
19# Don't uncomment this without reading the "Optimizing for a busy database" 19# Don't uncomment this without reading the "Optimizing for a busy database"
20# section in the documentation (under "Advanced logging scenarios"). 20# section in the documentation (under "Advanced logging scenarios").
21 21
22MYSQLDELAYED = -DWANT_DELAYED_MYSQL_INSERT 22#MYSQLDELAYED = -DWANT_DELAYED_MYSQL_INSERT
23 23
24########################################################################### 24###########################################################################
25# Rarely if ever have to touch below here. 25# Rarely if ever have to touch below here.
26 26
27MLMVERS = 1.18 27MLMVERS = 1.18pre1
28#APXSGDB = -Wc,-g 28#APXSGDB = -Wc,-g
29APXSOPTS = -Wc,-O2 -Wc,-Wall 29APXSOPTS = -Wc,-O2 -Wc,-Wall
30STATOPTS = -fpic -O2 -Wall 30STATOPTS = -fpic -O2 -Wall
@@ -34,8 +34,8 @@ RM = /bin/rm
34LYX = /usr/bin/lyx 34LYX = /usr/bin/lyx
35LATEX = /usr/bin/latex 35LATEX = /usr/bin/latex
36DVIPS = /usr/bin/dvips 36DVIPS = /usr/bin/dvips
37LINKS = /usr/bin/links 37LINKS = /usr/bin/lynx
38L2H = /usr/local/bin/latex2html 38L2H = /usr/bin/latex2html
39WEBSERV = gw0.corp 39WEBSERV = gw0.corp
40 40
41STATFLAGS = -I$(APACHEINST)/include 41STATFLAGS = -I$(APACHEINST)/include
@@ -87,6 +87,9 @@ distro: documentation
87 @cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS --exclude mod_log_sql/Documentation/HTML/CVS --exclude ".directory" mod_log_sql/; scp mod_log_sql-$(MLMVERS).tar.gz $(WEBSERV):$(APACHEINST)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz 87 @cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS --exclude mod_log_sql/Documentation/HTML/CVS --exclude ".directory" mod_log_sql/; scp mod_log_sql-$(MLMVERS).tar.gz $(WEBSERV):$(APACHEINST)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz
88 @ssh $(WEBSERV) "ln -sf mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz" 88 @ssh $(WEBSERV) "ln -sf mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz"
89 89
90pre-distro: documentation
91 @cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS --exclude mod_log_sql/Documentation/HTML/CVS --exclude ".directory" mod_log_sql/; scp mod_log_sql-$(MLMVERS).tar.gz $(WEBSERV):$(APACHEINST)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz
92
90documentation: Documentation/documentation.lyx 93documentation: Documentation/documentation.lyx
91 @echo "Creating LaTeX docs..." 94 @echo "Creating LaTeX docs..."
92 @$(LYX) --export latex Documentation/documentation.lyx 2>/dev/null 95 @$(LYX) --export latex Documentation/documentation.lyx 2>/dev/null
@@ -102,7 +105,7 @@ documentation: Documentation/documentation.lyx
102 @$(L2H) -local_icons -show_section_numbers -split 4 -navigation -noindex_in_navigation -contents_in_navigation -dir Documentation/HTML Documentation/documentation.tex >/dev/null 2>&1 105 @$(L2H) -local_icons -show_section_numbers -split 4 -navigation -noindex_in_navigation -contents_in_navigation -dir Documentation/HTML Documentation/documentation.tex >/dev/null 2>&1
103 @echo "Creating plain text docs..." 106 @echo "Creating plain text docs..."
104 @$(L2H) -show_section_numbers -split 0 -dir Documentation/ Documentation/documentation.tex >/dev/null 2>&1 107 @$(L2H) -show_section_numbers -split 0 -dir Documentation/ Documentation/documentation.tex >/dev/null 2>&1
105 @$(LINKS) -dump Documentation/documentation.html > Documentation/documentation.txt 2>/dev/null 108 @$(LINKS) -dump -nolist -width=120 -dump Documentation/documentation.html > Documentation/documentation.txt 2>/dev/null
106 @echo "Cleaning up..." 109 @echo "Cleaning up..."
107 @$(RM) -f Documentation/*.html Documentation/WARNINGS Documentation/*.pl Documentation/*.aux Documentation/*.css Documentation/*.toc Documentation/*.log Documentation/*.old Documentation/*.png Documentation/images.tex 110 @$(RM) -f Documentation/*.html Documentation/WARNINGS Documentation/*.pl Documentation/*.aux Documentation/*.css Documentation/*.toc Documentation/*.log Documentation/*.old Documentation/*.png Documentation/images.tex
108 @$(RM) -f Documentation/HTML/WARNINGS Documentation/HTML/*.pl Documentation/HTML/*.log Documentation/HTML/*.aux Documentation/HTML/*.tex Documentation/HTML/*.old Documentation/HTML/index.html 111 @$(RM) -f Documentation/HTML/WARNINGS Documentation/HTML/*.pl Documentation/HTML/*.log Documentation/HTML/*.aux Documentation/HTML/*.tex Documentation/HTML/*.old Documentation/HTML/index.html