- 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:
Hiroki Sato 2012-05-17 22:03:40 +00:00
parent 04627121fa
commit 5100672fda
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=38831

View file

@ -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 ) && \