Newies", as she doesn't have the resources to continue hosting it -- it also makes it easier for others to add to it as appropriate. Update the Makefile to list the file, and support.sgml with the new link to newbies.html. This also marks my first commit since I was hit by RSI almost six weeks ago. My appreciation to everyone in the FreeBSD community who wished me well, and understood why I didn't immediately write back to them :-) PR: docs/6386 Reviewed by: freebsd-doc Submitted by: Sue Blake, <sue@welearn.com.au>
76 lines
2.3 KiB
Makefile
76 lines
2.3 KiB
Makefile
# $Id: Makefile,v 1.29 1998-05-14 17:30:12 nik 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 mailto.sgml mirror.sgml newbies.sgml
|
|
DOCS+= newsflash.sgml npgallery.sgml pgallery.sgml publish.sgml search.sgml
|
|
DOCS+= searchhints.sgml send-pr.sgml security.sgml support.sgml where.sgml
|
|
DOCS+= resignation.sgml y2kbug.sgml search-mid.sgml press.sgml
|
|
|
|
CLEANFILES+=atoz.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
|
|
atoz.sgml: web.atoz
|
|
sort -fu web.atoz | perl atoz.pl > ${.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
|
|
|
|
# Subdirectories
|
|
|
|
SUBDIR= cgi commercial docproj gifs ports releases tutorials
|
|
.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
|
|
|
|
WEBDIR= data
|
|
|
|
.include "web.mk"
|
|
|