Various changes after repository copy.

This commit is contained in:
Wolfram Schneider 1998-08-03 11:47:30 +00:00
parent 53c7777bd2
commit 03aefbcffc
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=3242

View file

@ -1,80 +1,54 @@
# $Id: Makefile,v 1.37 1998-07-31 09:20:29 wosch Exp $
# $Id: Makefile,v 1.38 1998-08-03 11:47:30 wosch Exp $
.if exists(Makefile.conf)
.include "Makefile.conf"
.endif
ACCESS_LOG_DIR?=/home/www/server/logs
ACCESS_LOG_FILE?=access_log
ANALOG?=/home/www/bin/analog
# These are turned into validated, normalized HTML files.
DOCS= about.sgml applications.sgml auditors.sgml availability.sgml branch.sgml
DOCS+= cgallery.sgml commercial.sgml daemon.sgml docproj.sgml docs.sgml
DOCS+= features.sgml gallery.sgml index-site.sgml mozilla.sgml register.sgml
DOCS+= internet.sgml license.sgml
DOCS+= machines.sgml mailto.sgml mirror.sgml newbies.sgml
DOCS+= newsflash.sgml npgallery.sgml pgallery.sgml publish.sgml search.sgml
DOCS+= searchhints.sgml send-pr.sgml support.sgml where.sgml
DOCS+= resignation.sgml y2kbug.sgml search-mid.sgml press.sgml
DOCS= applications.sgml
DOCS+= auditors.sgml
DOCS+= availability.sgml
DOCS+= branch.sgml
DOCS+= docs.sgml
DOCS+= features.sgml
DOCS+= register.sgml
DOCS+= internet.sgml
DOCS+= mailto.sgml
DOCS+= publish.sgml
DOCS+= send-pr.sgml
DOCS+= support.sgml
DOCS+= where.sgml
DOCS+= y2kbug.sgml
CLEANFILES+=atoz.sgml site.sgml
# These will be directly installed.
DATA= COPYING COPYING.LIB README.mirror robots.txt index.html
# Files or targets listed here are defined in this file.
#LOCAL= stats.html stats-img.html
stats.html: ${ACCESS_LOG_DIR}/${ACCESS_LOG_FILE}
renice +10 $$$$; \
(cd ${ACCESS_LOG_DIR};zcat ${ACCESS_LOG_FILE}.*.gz; \
cat ${ACCESS_LOG_FILE}) | \
egrep -iv '\.(gif|jpg|jpeg|au) ' | \
${ANALOG} +i0 +R500 -o > ${.TARGET}
stats-img.html: ${ACCESS_LOG_DIR}/${ACCESS_LOG_FILE}
renice +10 $$$$; \
(cd ${ACCESS_LOG_DIR};zcat ${ACCESS_LOG_FILE}.*.gz; \
cat ${ACCESS_LOG_FILE}) | \
${ANALOG} +i0 +R500 -o > ${.TARGET}
index-site.sgml: atoz.sgml site.sgml
atoz.sgml: web.atoz
sort -fu web.atoz | perl atoz.pl > ${.TARGET}
site.sgml: site.map
./site.pl < ${.ALLSRC} > ${.TARGET}
cgallery.html: cgallery.sgml cgallery.inc
cgallery.inc: gallery.db gengallery.pl
./gengallery.pl commercial gallery.db > cgallery.inc
npgallery.html: npgallery.sgml npgallery.inc
npgallery.inc: gallery.db gengallery.pl
./gengallery.pl nonprofit gallery.db > npgallery.inc
pgallery.html: pgallery.sgml pgallery.inc
pgallery.inc: gallery.db gengallery.pl
./gengallery.pl personal gallery.db > pgallery.inc
#DATA= COPYING COPYING.LIB README.mirror robots.txt index.html
DATA= robots.txt index.html
# Subdirectories
# SGML
SUBDIR= security
SUBDIR+= commercial
SUBDIR+= docproj
SUBDIR+= news
SUBDIR+= alpha
SUBDIR+= internal
SUBDIR+= copyright
SUBDIR+= search
SUBDIR+= ports
SUBDIR+= projects
SUBDIR+= releases
SUBDIR= security cgi commercial docproj gifs ports releases tutorials
SUBDIR+= news alpha projects internal
# Non-SGML
SUBDIR+= gifs
SUBDIR+= cgi
.if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY)
SUBDIR+= ja_JP.EUC
.endif
# Subdirectories that have linuxdoc docs and makefiles that use
# <bsd.sgml.mk>.
DOCSUBDIR= FAQ handbook
SGMLOPTS+= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr
#DOCSUBDIR= FAQ handbook
#SGMLOPTS+= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr
WEBDIR= data