diff --git a/es/Makefile b/es/Makefile index 965ddca120..bd39395244 100644 --- a/es/Makefile +++ b/es/Makefile @@ -1,72 +1,75 @@ -# $FreeBSD: www/es/Makefile,v 1.7 1999/09/06 07:02:59 peter Exp $ +# $FreeBSD: www/es/Makefile,v 1.8 2000/02/28 12:43:08 phantom Exp $ .if exists(Makefile.conf) .include "Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif # These are turned into validated, normalized HTML files. DOCS= applications.sgml DOCS+= auditors.sgml DOCS+= availability.sgml DOCS+= docs.sgml DOCS+= features.sgml DOCS+= register.sgml DOCS+= index.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 DATA= robots.txt index.html # Subdirectories # SGML SUBDIR= security #SUBDIR+= commercial SUBDIR+= docproj SUBDIR+= news SUBDIR+= alpha SUBDIR+= internal SUBDIR+= copyright SUBDIR+= search #SUBDIR+= gallery SUBDIR+= projects SUBDIR+= releases #SUBDIR+= doc-es .if !defined(WEB_ONLY) || empty(WEB_ONLY) SUBDIR+= ports .endif # Non-SGML #SUBDIR+= gifs #SUBDIR+= cgi # Non-English #.if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY) #SUBDIR+= ja #SUBDIR+= es #.endif .if !defined(WEB_ONLY) || empty(WEB_ONLY) # Extern #SUBDIR+= tutorials #DOCSUBDIR= FAQ handbook DOCSUBDIR= FAQ .endif SGMLOPTS+= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr WEBDIR= data/es -.include "web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/Makefile.inc b/es/Makefile.inc index 3af49d1f5e..5c43ffa85f 100644 --- a/es/Makefile.inc +++ b/es/Makefile.inc @@ -1,3 +1,4 @@ -# $FreeBSD$ +# $FreeBSD: www/es/Makefile.inc,v 1.2 1999/09/06 07:02:59 peter Exp $ WEBBASE?= /data/es +WEB_PREFIX?= ${.CURDIR}/../.. diff --git a/es/alpha/Makefile b/es/alpha/Makefile index 3861e49ce6..ca11c45f4c 100644 --- a/es/alpha/Makefile +++ b/es/alpha/Makefile @@ -1,11 +1,14 @@ -# $FreeBSD$ +# $FreeBSD: www/es/alpha/Makefile,v 1.2 1999/09/06 07:03:01 peter Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif DOCS= alpha.sgml INDEXLINK=alpha.html -.include "../web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/copyright/Makefile b/es/copyright/Makefile index c58931a6bd..53aaffc73c 100644 --- a/es/copyright/Makefile +++ b/es/copyright/Makefile @@ -1,22 +1,25 @@ -# $FreeBSD$ +# $FreeBSD: www/es/copyright/Makefile,v 1.2 1999/09/06 07:03:01 peter Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif DOCS= license.sgml DOCS+= freebsd-license.sgml DOCS+= daemon.sgml DOCS+= copyright.sgml INDEXLINK= copyright.html DATA+= COPYING COPYING.LIB ${LEGAL} # FreeBSD Ports redistribution restrictions #LEGAL= LEGAL #CLEANFILES+= ${LEGAL} #${LEGAL}: $${CVSROOT}/ports/LEGAL,v # co -q -p ${.ALLSRC} > ${.TARGET} -.include "../web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/docproj/Makefile b/es/docproj/Makefile index 94b946e148..e8c03b13cc 100644 --- a/es/docproj/Makefile +++ b/es/docproj/Makefile @@ -1,17 +1,20 @@ -# $FreeBSD$ +# $FreeBSD: www/es/docproj/Makefile,v 1.2 1999/09/06 07:03:01 peter Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif DOCS= current.sgml DOCS+= doc-set.sgml DOCS+= sgml.sgml DOCS+= submitting.sgml DOCS+= who.sgml DOCS+= translations.sgml DOCS+= docproj.sgml INDEXLINK= docproj.html -.include "../web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/internal/Makefile b/es/internal/Makefile index ba85abe8e6..f65a51074e 100644 --- a/es/internal/Makefile +++ b/es/internal/Makefile @@ -1,19 +1,22 @@ -# $FreeBSD$ +# $FreeBSD: www/es/internal/Makefile,v 1.7 1999/09/06 07:03:02 peter Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif DOCS= photos.sgml DOCS+= internal.sgml DOCS+= about.sgml DOCS+= machines.sgml DOCS+= mirror.sgml DOCS+= statistic.sgml DOCS+= developer.sgml INDEXLINK= internal.html DATA+= README.mirror -.include "../web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/news/Makefile b/es/news/Makefile index e573e06543..ba5c229811 100644 --- a/es/news/Makefile +++ b/es/news/Makefile @@ -1,36 +1,35 @@ -# $FreeBSD$ +# $FreeBSD: www/es/news/Makefile,v 1.5 1999/09/06 07:03:03 peter Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif - -.if exists("../Makefile.conf") -.include "../Makefile.conf" +.if exists(../Makefile.inc) +.include "../Makefile.inc" .endif # quick news letter DOCS= qnewsletter.sgml DOCS+= qnewsletter-1-1.sgml DOCS+= qnewsletter-1-2.sgml DOCS+= qnewsletter-1-3.sgml DOCS+= qnewsletter-1-4.sgml DOCS+= qnewsletter-1-5.sgml DOCS+= qnewsletter-1-6.sgml DOCS+= qnewsletter-1-7.sgml DOCS+= qnewsletter-2-1.sgml DOCS+= qnewsletter-2-2.sgml DOCS+= press.sgml DOCS+= newsflash.sgml DOCS+= news.sgml DOCS+= webchanges.sgml # press releases DOCS+= pressreleases.sgml DOCS+= press-rel-1.sgml DOCS+= press-rel-2.sgml DOCS+= press-rel-3.sgml INDEXLINK= news.html -.include "../web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/ports/Makefile b/es/ports/Makefile index e21092ebbb..c3bd1281d8 100644 --- a/es/ports/Makefile +++ b/es/ports/Makefile @@ -1,57 +1,60 @@ -# $FreeBSD: www/es/ports/Makefile,v 1.6 1999/09/06 07:03:04 peter Exp $ +# $FreeBSD: www/es/ports/Makefile,v 1.7 1999/11/15 20:37:56 jesusr Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif .if exists(Makefile.inc) .include "Makefile.inc" .endif .if defined(NOPORTSCVS) ${INDEX}: $${PORTSBASE}/${PINDEX} cp ${PORTSBASE}/${PINDEX} ${INDEX} ${Y2K}: $${PORTSBASE}/${PY2K} cp ${PORTSBASE}/${PY2K} ${Y2K} .else ${INDEX}: ${cvsindex} cvs -QR co -p ${PINDEX} > ${INDEX} ${Y2K}: ${cvsy2k} cvs -QR co -p ${PY2K} > ${Y2K} .endif # build the list of available packages only on the # main FreeBSD machines hostname!= hostname .if defined(NOPORTSCVS) packages.exists: .else packages.exists: ${cvsindex} ${cvsy2k} .endif .if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org" .if exists(${.CURDIR}/../../en/ports/packages.exists) cp ${.CURDIR}/../../en/ports/${.TARGET} . .else sh ${.CURDIR}/packages > ${.TARGET} .endif .else touch ${.TARGET} .endif Makefile.gen: index.sgml .NOTMAIN echo DOCS= *.sgml > Makefile.gen index.sgml: ${INDEX} ${Y2K} packages.exists portindex ports.inc .NOTMAIN rm -f *.sgml - ${PORTINDEX} ${INDEX} ${Y2K} + ${PORTINDEX} ${INDEX} ${Y2K} ${.CURDIR} install: all all install clean: - ${MAKE} ${MAKEFLAGS} -f Makefile.inc0 ${.TARGET} + (cd ${.CURDIR} &&${MAKE} ${MAKEFLAGS} -f ${.CURDIR}/Makefile.inc0 ${.TARGET}) -.include "../web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/ports/Makefile.inc0 b/es/ports/Makefile.inc0 index bb5bef7054..b89d62774f 100644 --- a/es/ports/Makefile.inc0 +++ b/es/ports/Makefile.inc0 @@ -1,16 +1,19 @@ -# $FreeBSD: www/en/ports/Makefile.inc0,v 1.2 1999/09/06 07:02:48 peter Exp $ +# $FreeBSD: www/es/ports/Makefile.inc0,v 1.1 1999/11/15 20:37:56 jesusr Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif .if exists(Makefile.inc) .include "Makefile.inc" .endif .if exists(Makefile.gen) .include "Makefile.gen" .endif -.include "../web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/ports/portindex b/es/ports/portindex index 11f2d6fb7e..900f324ac2 100755 --- a/es/ports/portindex +++ b/es/ports/portindex @@ -1,285 +1,285 @@ #!/usr/bin/perl # convert a ports INDEX file to HTML # # by John Fieber # Mon May 13 10:31:58 EST 1996 ############################################################ # Load local config file. You can override in portindex.conf # the variables for the default web and the ftp server. This # make it easy to maintain a local web mirror and let the # URL point to yourself and not to the standard FreeBSD FTP server. $config = $0 . '.' . 'conf'; do $config if -f $config; # This is the base of where we ftp stuff from if ($ENV{'MASTER_FTP_SERVER'}) { $ftpserver = $ENV{'MASTER_FTP_SERVER'}; } else { $ftpserver = 'ftp://ftp.freebsd.org' if !$ftpserver; } $base = "$ftpserver/pub/FreeBSD/FreeBSD-current" if !$base; $baseHTTP = $base if !$baseHTTP; $urlcgi = 'http://www.freebsd.org/cgi/url.cgi' if !$urlcgi; $packagesURL = "$ftpserver/pub/FreeBSD/ports/i386/packages-stable/All/" if !$packagesURL; # support tar on the fly or gzip'ed tar on the fly $ftparchive = 'tar' if !$ftparchive; # ports download sources script $pds = 'http://www.freebsd.org/cgi/pds.cgi'; # better layout and link to the sources if ($urlcgi) { $baseHTTP = $urlcgi . '?' . $baseHTTP; } $today = &getdate; &packages_exist('packages.exists', *packages); -&category_description('categories', *category_description); +&category_description(($ARGV[2] || '.') . '/categories', *category_description); &y2k_statements; &main; sub y2k_statements { open(Y2K, $ARGV[1]); while() { chop(); ( $dir, $url ) = split(/\s+/); $dir = $base . "/" . $dir; $y2k{$dir} = $url; } close(Y2K); } sub getdate { @months = ("January", "February", "March", "April", "May","June", "July", "August", "September", "October", "November", "December"); ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); $year += 1900; return "Updated $months[$mon] $mday, $year"; } sub header { local ($fh, $htext) = @_; print $fh ""; print $fh "$today\">\n"; print $fh ""; print $fh "\n"; print $fh "\n"; print $fh ""; print $fh "%includes;\n"; print $fh "]>\n"; print $fh "&header;\n"; } sub footer { local ($fh, $ftext) = @_; print $fh "\n$ftext\n"; print $fh "&footer;\n"; print $fh "\n\n"; } sub packages_exist { local($file, *p) = @_; open(P, $file) || do { warn "open $file: $!\n"; warn "Cannot create packages links\n"; return 1; }; while(

) { chop; $p{$_} = 1; } close P; return 0; } sub category_description { local($file, *p) = @_; open(P, $file) || do { warn "open $file: $!\n"; warn "Cannot find category description\n"; return 1; }; local($category, $description); while(

) { # ignore comments next if /^\s*#/; ($category, $description) = /^\s*"([^"]+)",\s*"([^"]+)/; $p{$category} = $description; } close P; return 0; } sub main { $sep = ":"; open(INDEX, $ARGV[0]); while () { chop; s/&/&/g; s//>/g; # Read a record ($name, $loc, $prefix, $desc, $ldesc, $owner, $cats, $bdep, $rdep, $www) = split('\|'); # Check for double hyphens in the name (--). $name =~ s/--/-/g; # Split the categories into an array @cat = split("[ \t]+", $cats); $catkey{$name} = $cat[0]; local($sourcepath) = $loc; $sourcepath =~ s%/usr/%%; foreach $i (@cat) { $stats{$i}++; # figure out the FTP url $loc =~ s/\/usr/$base/; $ldesc =~ s/\/usr/$baseHTTP/; # The name description and maintainer $data{$i} .= "

$name "; $data{$i} .= "
$desc
Long description"; if ($packages{"$name.tgz"}) { $data{$i} .= qq{ | Package}; } $data{$i} .= qq{ | Sources}; if ($y2k{"$loc"}) { $data{$i} .= qq{ | Y2K}; } if ($www ne "") { $data{$i} .= qq{ | Main Web Site}; } $ownerurl = $owner; $ownerurl =~ s/<//g; $data{$i} .= "
Maintained by: $owner"; # If there are any dependencies, list them if ($bdep ne "" || $rdep ne "") { $data{$i} .= "
Requires: "; @dep = split(/ /, "$bdep $rdep"); local($last) = ''; foreach $j (sort @dep) { next if $j eq $last; $last = $j; $data{$i} .= " $j,"; } # remove the trailing comma chop $data{$i}; } # If the port is listed in more than one category, throw # in some cross references if ($#cat > 0) { $data{$i} .= "
Also listed in: "; foreach $j (@cat) { if ($j ne $i) { if ($j eq $cat[0]) { $data{$i} .= " \u$j,"; } else { $data{$i} .= " \u$j,"; } } } # remove the trailing comma chop($data{$i}); } $data{$i} .= "

\n" } # Add an entry to the master index # workaround for SGML bug, `--' is not allowed in comments local ($sname) = $name; $sname =~ s/--/-=/g; $master[$portnumber] = "$name " . " -- $desc
\n"; $portnumber++; } open(MOUTF, ">index.sgml"); &header(MOUTF, "FreeBSD Ports"); # print MOUTF "\n"; print MOUTF "&blurb;"; print MOUTF "

There are currently $portnumber ports in the FreeBSD Ports Collection.
Download a gzip'd tar file of all $portnumber ports (about 7 megabytes) or browse the following categories:\n"; print MOUTF "

\n"; print MOUTF "\n"; &footer(MOUTF, ""); close(MOUTF); # Create the master index file open(MINDEX, ">master-index.sgml"); &header(MINDEX, "FreeBSD Ports Collection Index"); print MINDEX "

\n"; print MINDEX sort @master; print MINDEX "

"; &footer(MINDEX, "
Port Categories
"); close(MINDEX); close(INDEX); } diff --git a/es/projects/Makefile b/es/projects/Makefile index 39c334b8e1..01e0629264 100644 --- a/es/projects/Makefile +++ b/es/projects/Makefile @@ -1,13 +1,16 @@ -# $FreeBSD$ +# $FreeBSD: www/es/projects/Makefile,v 1.2 1999/09/06 07:03:05 peter Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif DOCS= projects.sgml DOCS+= mozilla.sgml DOCS+= newbies.sgml INDEXLINK= projects.html -.include "../web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/1.1.5/Makefile b/es/releases/1.1.5/Makefile index 1340175acd..765d4f75bb 100644 --- a/es/releases/1.1.5/Makefile +++ b/es/releases/1.1.5/Makefile @@ -1,6 +1,7 @@ DATA= CONTRIB.386BSD CONTRIB.FreeBSD COPYRIGHT.386BSD DATA+= COPYRIGHT.FreeBSD COPYRIGHT.USL KNOWNBUGS MIRROR.SITES DATA+= PERSONAL.ACKS REGISTER.FreeBSD RELNOTES.FreeBSD ROSTER.FreeBSD DATA+= SUPPORT.TXT TODO-1.1.5 -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/1.1/Makefile b/es/releases/1.1/Makefile index 39794b4e32..789a2ffb7c 100644 --- a/es/releases/1.1/Makefile +++ b/es/releases/1.1/Makefile @@ -1,4 +1,5 @@ DATA= CONTRIB.386BSD CONTRIB.FreeBSD COPYRIGHT.386BSD COPYRIGHT.FreeBSD DATA+= MIRROR.SITES PERSONAL.ACKS RELNOTES.FreeBSD SUPPORT.TXT -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.0.5R/Makefile b/es/releases/2.0.5R/Makefile index 517e40e9d3..7f9e4b0871 100644 --- a/es/releases/2.0.5R/Makefile +++ b/es/releases/2.0.5R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.0/Makefile b/es/releases/2.0/Makefile index 8955b2ea3e..aa4da665ef 100644 --- a/es/releases/2.0/Makefile +++ b/es/releases/2.0/Makefile @@ -1,4 +1,5 @@ DOCS= announce.sgml credits.sgml install.sgml notes.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.1.5R/Makefile b/es/releases/2.1.5R/Makefile index 517e40e9d3..7f9e4b0871 100644 --- a/es/releases/2.1.5R/Makefile +++ b/es/releases/2.1.5R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.1.6R/Makefile b/es/releases/2.1.6R/Makefile index e2e211d24f..d53942ab82 100644 --- a/es/releases/2.1.6R/Makefile +++ b/es/releases/2.1.6R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml security.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.1.7R/Makefile b/es/releases/2.1.7R/Makefile index 517e40e9d3..7f9e4b0871 100644 --- a/es/releases/2.1.7R/Makefile +++ b/es/releases/2.1.7R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.1R/Makefile b/es/releases/2.1R/Makefile index 517e40e9d3..7f9e4b0871 100644 --- a/es/releases/2.1R/Makefile +++ b/es/releases/2.1R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.2.1R/Makefile b/es/releases/2.2.1R/Makefile index 066f6801e4..2a0c94ae9e 100644 --- a/es/releases/2.2.1R/Makefile +++ b/es/releases/2.2.1R/Makefile @@ -1,3 +1,4 @@ DOCS= notes.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.2.2R/Makefile b/es/releases/2.2.2R/Makefile index b7057cf521..b9a6d3146a 100644 --- a/es/releases/2.2.2R/Makefile +++ b/es/releases/2.2.2R/Makefile @@ -1,3 +1,4 @@ DOCS= notes.sgml errata.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.2.5R/Makefile b/es/releases/2.2.5R/Makefile index 6aaa9ea536..b80fc864f7 100644 --- a/es/releases/2.2.5R/Makefile +++ b/es/releases/2.2.5R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml errata.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.2.6R/Makefile b/es/releases/2.2.6R/Makefile index 6aaa9ea536..b80fc864f7 100644 --- a/es/releases/2.2.6R/Makefile +++ b/es/releases/2.2.6R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml errata.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.2.7R/Makefile b/es/releases/2.2.7R/Makefile index 6aaa9ea536..b80fc864f7 100644 --- a/es/releases/2.2.7R/Makefile +++ b/es/releases/2.2.7R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml errata.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.2.8R/Makefile b/es/releases/2.2.8R/Makefile index 6aaa9ea536..b80fc864f7 100644 --- a/es/releases/2.2.8R/Makefile +++ b/es/releases/2.2.8R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml errata.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/2.2R/Makefile b/es/releases/2.2R/Makefile index 1ff5ac5fb6..b78e4dc09e 100644 --- a/es/releases/2.2R/Makefile +++ b/es/releases/2.2R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml install-media.sgml notes.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/3.0R/Makefile b/es/releases/3.0R/Makefile index 6aaa9ea536..b80fc864f7 100644 --- a/es/releases/3.0R/Makefile +++ b/es/releases/3.0R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml errata.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/3.1R/Makefile b/es/releases/3.1R/Makefile index 6aaa9ea536..b80fc864f7 100644 --- a/es/releases/3.1R/Makefile +++ b/es/releases/3.1R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml errata.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/3.2R/Makefile b/es/releases/3.2R/Makefile index 6aaa9ea536..b80fc864f7 100644 --- a/es/releases/3.2R/Makefile +++ b/es/releases/3.2R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml errata.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/3.3R/Makefile b/es/releases/3.3R/Makefile index 6aaa9ea536..b80fc864f7 100644 --- a/es/releases/3.3R/Makefile +++ b/es/releases/3.3R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml errata.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/3.4R/Makefile b/es/releases/3.4R/Makefile index 6aaa9ea536..b80fc864f7 100644 --- a/es/releases/3.4R/Makefile +++ b/es/releases/3.4R/Makefile @@ -1,3 +1,4 @@ DOCS= announce.sgml notes.sgml errata.sgml -.include "../../web.mk" +.include "../Makefile.inc" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/Makefile b/es/releases/Makefile index 300efb296b..ccede21deb 100644 --- a/es/releases/Makefile +++ b/es/releases/Makefile @@ -1,17 +1,20 @@ -# $FreeBSD: www/es/releases/Makefile,v 1.5 1999/09/27 21:09:59 jesusr Exp $ +# $FreeBSD: www/es/releases/Makefile,v 1.6 1999/12/30 13:44:01 jesusr Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif DOCS?= index.sgml snapshots.sgml SUBDIR= 1.1 1.1.5 2.0 2.0.5R 2.1R 2.1.5R 2.1.6R 2.1.7R 2.2R SUBDIR+= 2.2.1R 2.2.2R 2.2.5R 2.2.6R 2.2.7R 2.2.8R 3.0R 3.1R 3.2R SUBDIR+= 3.3R 3.4R .if defined $(NEW_BUILD) SUBDIR= .endif -.include "../web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/releases/Makefile.inc b/es/releases/Makefile.inc index d8e9b10827..c992291cd9 100644 --- a/es/releases/Makefile.inc +++ b/es/releases/Makefile.inc @@ -1,4 +1,4 @@ -# $FreeBSD$ +# $FreeBSD: www/es/releases/Makefile.inc,v 1.2 1999/09/06 07:03:05 peter Exp $ WEBBASE?= /data/es/releases - +WEB_PREFIX?= ${.CURDIR}/../../.. diff --git a/es/search/Makefile b/es/search/Makefile index 7064d2fae8..5ed2d06fb9 100644 --- a/es/search/Makefile +++ b/es/search/Makefile @@ -1,24 +1,26 @@ -# $FreeBSD$ +# $FreeBSD: www/es/search/Makefile,v 1.2 1999/09/06 07:03:13 peter Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif DOCS+= index-site.sgml DOCS+= search.sgml DOCS+= searchhints.sgml DOCS+= search-mid.sgml INDEXLINK= search.html CLEANFILES+=atoz.sgml site.sgml -index-site.sgml: atoz.sgml site.sgml +index-site.html: atoz.sgml site.sgml atoz.sgml: web.atoz - sort -fu web.atoz | perl atoz.pl > ${.TARGET} + sort -fu ${.ALLSRC} | ${PERL} ${.CURDIR}/atoz.pl > ${.TARGET} site.sgml: site.map - ./site.pl < ${.ALLSRC} > ${.TARGET} - -.include "../web.mk" + ${PERL} ${.CURDIR}/site.pl < ${.ALLSRC} > ${.TARGET} +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/es/security/Makefile b/es/security/Makefile index 1feefed238..69fb53679d 100644 --- a/es/security/Makefile +++ b/es/security/Makefile @@ -1,14 +1,17 @@ -# $FreeBSD$ +# $FreeBSD: www/es/security/Makefile,v 1.2 1999/09/06 07:03:14 peter Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif DOCS= DOCS+= programmers.sgml DOCS+= security.sgml DOCS+= secure.sgml INDEXLINK= security.html -.include "../web.mk" +.include "${WEB_PREFIX}/share/mk/web.site.mk"