File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / doc / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 08:44:30 2013 UTC (11 years, 5 months ago) by misho
Branches: mpd, MAIN
CVS tags: v5_7p0, v5_7, v5_6, HEAD
5.7

# $Id: Makefile,v 1.1.1.1 2013/07/22 08:44:30 misho Exp $

PREFIX?=	/usr/local
DOCDIR?=	${PREFIX}/share/doc/mpd5

MPD_DOC_FILES+=	../README
MPD_DOC_FILES+=	mpd*.html
MPD_DOC_FILES+=	mpd.ps

MAN8=		mpd5.8
MANDIR=		${PREFIX}/man/man

depend:

clean cleandir:
	rm -f mpd5.8

all:		mpd5.8

mpd5.8:          mpd5.8.in
	sed -e "s,@PREFIX@,${PREFIX},g" < ${.ALLSRC} > ${.TARGET}

.if !defined(NOPORTDOCS)
afterinstall:
	[ -d ${DOCDIR} ] || mkdir ${DOCDIR}
	${INSTALL} -c -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
	    ${MPD_DOC_FILES} ${DOCDIR}
.endif

.include <bsd.prog.mk>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>