doc/en_US.ISO8859-1/htdocs/multimedia/Makefile
Hiroki Sato 5100672fda - 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)
2012-05-17 22:03:40 +00:00

39 lines
797 B
Makefile

# $FreeBSD$
.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
.if exists(Makefile.inc)
.include "Makefile.inc"
.endif
#all: build
all: build
cd output && make all DIRPRFX=multimedia/output/
install:
cd output && make install DIRPRFX=multimedia/output/
TEMPLATES= multimedia.sgml.intro \
multimedia.sgml.post \
multimedia.sgml.pre \
multimedia.html.intro \
multimedia.html.post \
multimedia.html.pre \
multimedia-input.xml
clean:
${RM} -rf output
build:
${MKDIR} -p output && \
cd output && \
${LN} -fs ../Makefile.output Makefile && \
( for f in ${TEMPLATES}; do ${LN} -fs ../$$f $$f; done ) && \
${PERL} -Tw ../multimedia.pl && \
${RM} -f *.html
.include "${DOC_PREFIX}/share/mk/web.site.mk"