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