- Fix make clean to remove the output directory itself in addition to
the files.[*] - Use mkdir -p. Submitted by: gjb [1] Approved by: doceng (implicit)
This commit is contained in:
parent
04627121fa
commit
5100672fda
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=38831
1 changed files with 2 additions and 2 deletions
|
|
@ -26,10 +26,10 @@ TEMPLATES= multimedia.sgml.intro \
|
|||
multimedia-input.xml
|
||||
|
||||
clean:
|
||||
-${RM} output/*
|
||||
${RM} -rf output
|
||||
|
||||
build:
|
||||
(test -d output || ${MKDIR} output ) && \
|
||||
${MKDIR} -p output && \
|
||||
cd output && \
|
||||
${LN} -fs ../Makefile.output Makefile && \
|
||||
( for f in ${TEMPLATES}; do ${LN} -fs ../$$f $$f; done ) && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue