Annotation of embedaddon/mpd/doc/Makefile, revision 1.1
1.1 ! misho 1: # $Id: Makefile.doc,v 1.8 2007/09/16 14:03:57 amotin Exp $
! 2:
! 3: PREFIX?= /usr/local
! 4: DOCDIR?= ${PREFIX}/share/doc/mpd5
! 5:
! 6: MPD_DOC_FILES+= ../README
! 7: MPD_DOC_FILES+= mpd*.html
! 8: MPD_DOC_FILES+= mpd.ps
! 9:
! 10: MAN8= mpd5.8
! 11: MANDIR= ${PREFIX}/man/man
! 12:
! 13: depend:
! 14:
! 15: clean cleandir:
! 16: rm -f mpd5.8
! 17:
! 18: all: mpd5.8
! 19:
! 20: mpd5.8: mpd5.8.in
! 21: sed -e "s,@PREFIX@,${PREFIX},g" < ${.ALLSRC} > ${.TARGET}
! 22:
! 23: .if !defined(NOPORTDOCS)
! 24: afterinstall:
! 25: [ -d ${DOCDIR} ] || mkdir ${DOCDIR}
! 26: ${INSTALL} -c -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
! 27: ${MPD_DOC_FILES} ${DOCDIR}
! 28: .endif
! 29:
! 30: .include <bsd.prog.mk>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>