doc/en/multimedia/Makefile
Giorgos Keramidas cd136d5bcc Unbreak the build. In a clean www/ tree ${FLIST} doens't exist during
the first run, so ``DATA != cat ${FLIST}'' can't really work.

Submitted by:	edwin
Pointy hat:	keramida
2007-05-15 21:53:43 +00:00

39 lines
736 B
Makefile

# $FreeBSD: www/en/multimedia/Makefile,v 1.1 2007/05/15 21:30:41 keramida Exp $
.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
.if exists(Makefile.inc)
.include "Makefile.inc"
.endif
INDEXLINK= multimedia.html
FXML = multimedia-input.xml
FHTML = \
multimedia.html.intro \
multimedia.html.pre \
multimedia.html.post
FLIST = multimedia.created
FSCRIPT = multimedia.pl
.if exists(${FLIST})
DATA!= cat ${FLIST}
.else
DATA= ${INDEXLINK}
.endif
all: ${FLIST}
clean:
if test -f ${FLIST} ; then \
xargs ${RM} < ${FLIST} && ${RM} ${FLIST} ; \
fi
${FLIST}: ${FSCRIPT} ${FXML} ${FHTML}
perl -Tw ${FSCRIPT}
.include "${WEB_PREFIX}/share/mk/web.site.mk"