english sub directories: cgi, commercial, gallery, gifs which are redundant and will never be translated and the spanish sub directories: doc-es, docs-es Submitted by: "Jesus Rodriguez" <jesusr@ncsa.es> Fix Makefiles errors. `Make all install' runs fine. Currently, many the links to the sub directories cgi, commercial, gallery, gifs are broken. The links should point to the English orginal files.
43 lines
980 B
Makefile
43 lines
980 B
Makefile
# $Id: Makefile,v 1.1.1.1 1999-02-08 19:26:11 wosch Exp $
|
|
|
|
.if exists(../Makefile.conf)
|
|
.include "../Makefile.conf"
|
|
.endif
|
|
|
|
PORTINDEX= perl ${.CURDIR}/portindex
|
|
INDEX= INDEX
|
|
PINDEX= ports/${INDEX}
|
|
|
|
COOKIE= ${INDEX} Makefile.gen
|
|
|
|
.if exists(Makefile.gen)
|
|
.include "Makefile.gen"
|
|
.endif
|
|
CLEANFILES+= ${DOCS} Makefile.gen ${INDEX} packages.exists
|
|
|
|
cvsindex= $${CVSROOT}/${PINDEX},v
|
|
_ALLINSTALL= packages.exists ${INDEX}
|
|
|
|
${INDEX}: ${cvsindex}
|
|
cvs -QR co -p ${PINDEX} > ${INDEX}
|
|
|
|
# build the list of available packages only on the
|
|
# main FreeBSD machines
|
|
hostname!= hostname
|
|
|
|
packages.exists: ${cvsindex}
|
|
.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org"
|
|
sh ${.CURDIR}/packages > ${.TARGET}
|
|
.else
|
|
touch ${.TARGET}
|
|
.endif
|
|
|
|
Makefile.gen: index.sgml .NOTMAIN
|
|
echo DOCS= *.sgml > Makefile.gen
|
|
${MAKE} ${MAKEFLAGS} ${.IMPSRC}
|
|
|
|
index.sgml: ${INDEX} packages.exists portindex ports.inc .NOTMAIN
|
|
rm -f *.sgml
|
|
${PORTINDEX} ${INDEX}
|
|
|
|
.include "../web.mk"
|