Use DIRS_TO_CLEAN variable to clean external directories, otherwise current
directory will not be cleanup'ed.
This commit is contained in:
parent
483a9ff659
commit
11a7128d54
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=7087
2 changed files with 12 additions and 4 deletions
|
@ -1,12 +1,16 @@
|
|||
#
|
||||
# $FreeBSD: www/en/tutorials/Makefile,v 1.4 1999/09/15 20:37:10 wosch Exp $
|
||||
# $FreeBSD: www/en/tutorials/Makefile,v 1.5 1999/09/17 23:48:29 nik Exp $
|
||||
#
|
||||
# Build the FreeBSD tutorials/articles outside of the www tree, and then
|
||||
# install them in to the right place.
|
||||
|
||||
DOCS = index.sgml
|
||||
|
||||
all afterinstall clean: index.html
|
||||
DIRS_TO_CLEAN = ../../../doc/en_US.ISO_8859-1/articles \
|
||||
../../../doc/en_US.ISO_8859-1/books/fdp-primer \
|
||||
../../../doc/en_US.ISO_8859-1/books/ppp-primer
|
||||
|
||||
all afterinstall: index.html
|
||||
(cd ../../../doc/en_US.ISO_8859-1/articles && ${MAKE} 'FORMATS=html html-split' 'DESTDIR=${DESTDIR}/data/tutorials/$${.CURDIR:T}' ${.TARGET:S/afterinstall/install/})
|
||||
(cd ../../../doc/en_US.ISO_8859-1/books/fdp-primer && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/tutorials/docproj-primer ${.TARGET:S/afterinstall/install/})
|
||||
(cd ../../../doc/en_US.ISO_8859-1/books/ppp-primer && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/tutorials/ppp ${.TARGET:S/afterinstall/install/})
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# $FreeBSD: www/ja/tutorials/Makefile,v 1.1.1.1 2000/01/06 12:51:59 kuriyama Exp $
|
||||
# $FreeBSD: www/ja/tutorials/Makefile,v 1.2 2000/02/20 02:37:02 motoyuki Exp $
|
||||
#
|
||||
# Original revision: 1.5
|
||||
#
|
||||
|
@ -8,7 +8,11 @@
|
|||
|
||||
DOCS = index.sgml
|
||||
|
||||
all afterinstall clean:
|
||||
DIRS_TO_CLEAN = ../../../doc/ja_JP.eucJP/articles \
|
||||
../../../doc/ja_JP.eucJP/books/ppp-primer
|
||||
# ../../../doc/ja_JP.eucJP/books/fdp-primer \
|
||||
|
||||
all afterinstall:
|
||||
(cd ../../../doc/ja_JP.eucJP/articles && ${MAKE} 'FORMATS=html html-split' 'DESTDIR=${DESTDIR}/data/ja/tutorials/$${.CURDIR:T}' ${.TARGET:S/afterinstall/install/})
|
||||
# (cd ../../../doc/ja_JP.eucJP/books/fdp-primer && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/ja/tutorials/docproj-primer ${.TARGET:S/afterinstall/install/})
|
||||
(cd ../../../doc/ja_JP.eucJP/books/ppp-primer && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/ja/tutorials/ppp ${.TARGET:S/afterinstall/install/})
|
||||
|
|
Loading…
Reference in a new issue