Invoke next command if "cd" succeeded.
Not objected by: Doc Team
This commit is contained in:
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
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue