Invoke next command if "cd" succeeded.

Not objected by:	Doc Team
This commit is contained in:
Jun Kuriyama 1999-09-03 14:01:15 +00:00
parent 623548f75a
commit d71e7bfccf
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=5498
5 changed files with 13 additions and 13 deletions
en
FAQ
handbook
tutorials
web.mk
share/mk

View file

@ -1,11 +1,11 @@
#
# $Id: Makefile,v 1.1 1999-08-19 20:45:50 nik Exp $
# $Id: Makefile,v 1.2 1999-09-03 14:01:12 kuriyama Exp $
#
# Build the FreeBSD FAQ *outside* of the www tree, and install it
# in to the right place as necessary.
all install clean:
(cd ../../../doc/en_US.ISO_8859-1/books/faq; make 'FORMATS=html-split html' DESTDIR=${DESTDIR}/data/FAQ ${.TARGET})
(cd ../../../doc/en_US.ISO_8859-1/books/faq && make 'FORMATS=html-split html' DESTDIR=${DESTDIR}/data/FAQ ${.TARGET})
.if make(install)
(cd ${DESTDIR}/data/FAQ; ln -sf index.html FAQ.html)
.endif

View file

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.2 1999-08-19 20:40:58 nik Exp $
# $Id: Makefile,v 1.3 1999-09-03 14:01:14 kuriyama Exp $
#
# Build the FreeBSD Handbook *outside* of the www tree, and install it
# in to the right place as necessary.
@ -15,4 +15,4 @@
#
all install clean:
(cd ../../../doc/en_US.ISO_8859-1/books/handbook; make FORMATS=html-split DESTDIR=${DESTDIR}/data/handbook ${.TARGET})
(cd ../../../doc/en_US.ISO_8859-1/books/handbook && make FORMATS=html-split DESTDIR=${DESTDIR}/data/handbook ${.TARGET})

View file

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.1 1999-08-19 20:49:29 nik Exp $
# $Id: Makefile,v 1.2 1999-09-03 14:01:15 kuriyama Exp $
#
# Build the FreeBSD tutorials/articles outside of the www tree, and then
# install them in to the right place.
@ -7,7 +7,7 @@
DOCS = index.sgml
all afterinstall clean: 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/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/})
.include "../web.mk"

View file

@ -1,5 +1,5 @@
# bsd.web.mk
# $Id: web.mk,v 1.21 1999-08-19 20:40:26 nik Exp $
# $Id: web.mk,v 1.22 1999-09-03 14:01:11 kuriyama Exp $
#
# Build and install a web site.
@ -173,14 +173,14 @@ _PROGSUBDIR: .USE
.if defined(SUBDIR) && !empty(SUBDIR)
@for entry in ${SUBDIR}; do \
(${ECHODIR} "===> ${DIRPRFX}$$entry"; \
cd ${.CURDIR}/$${entry}; \
cd ${.CURDIR}/$${entry} && \
${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/} DIRPRFX=${DIRPRFX}$$entry/); \
done
.endif
.if defined(DOCSUBDIR) && !empty(DOCSUBDIR)
@for entry in ${DOCSUBDIR}; do \
(${ECHODIR} "===> ${DIRPRFX}$$entry"; \
cd ${.CURDIR}/$${entry}; \
cd ${.CURDIR}/$${entry} && \
if [ ${WEBDIR} = "data" -a $$entry = "handbook" -o $$entry = "docproj-primer" ]; then \
${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/} DIRPRFX=${DIRPRFX}$$entry/ ${PARAMS} FORMATS="txt html html-split"; \
elif [ $$entry = "handbook" -a ${WEBDIR} = "data/ja" ]; then \

View file

@ -1,5 +1,5 @@
# bsd.web.mk
# $Id: web.site.mk,v 1.21 1999-08-19 20:40:26 nik Exp $
# $Id: web.site.mk,v 1.22 1999-09-03 14:01:11 kuriyama Exp $
#
# Build and install a web site.
@ -173,14 +173,14 @@ _PROGSUBDIR: .USE
.if defined(SUBDIR) && !empty(SUBDIR)
@for entry in ${SUBDIR}; do \
(${ECHODIR} "===> ${DIRPRFX}$$entry"; \
cd ${.CURDIR}/$${entry}; \
cd ${.CURDIR}/$${entry} && \
${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/} DIRPRFX=${DIRPRFX}$$entry/); \
done
.endif
.if defined(DOCSUBDIR) && !empty(DOCSUBDIR)
@for entry in ${DOCSUBDIR}; do \
(${ECHODIR} "===> ${DIRPRFX}$$entry"; \
cd ${.CURDIR}/$${entry}; \
cd ${.CURDIR}/$${entry} && \
if [ ${WEBDIR} = "data" -a $$entry = "handbook" -o $$entry = "docproj-primer" ]; then \
${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/} DIRPRFX=${DIRPRFX}$$entry/ ${PARAMS} FORMATS="txt html html-split"; \
elif [ $$entry = "handbook" -a ${WEBDIR} = "data/ja" ]; then \