2010-08-05 00:34:19 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2010/08/05 06:34:19 matthieu Exp $
|
2006-11-27 04:25:45 -07:00
|
|
|
|
|
|
|
FILE= README.${MACHINE}
|
|
|
|
|
|
|
|
sets=xbase xfont xshare xserv
|
|
|
|
|
|
|
|
all: ${FILE}.generated
|
|
|
|
|
|
|
|
${FILE}.generated: ${FILE} m4.common
|
2007-03-27 18:22:03 -06:00
|
|
|
m4 ${.CURDIR}/m4.common ${.CURDIR}/${FILE} > ${FILE}.generated
|
2006-11-27 04:25:45 -07:00
|
|
|
|
|
|
|
install: ${FILE}.generated
|
2010-05-08 08:15:29 -06:00
|
|
|
${INSTALL_DATA} ${FILE}.generated ${DESTDIR}/usr/X11R6/README
|
2006-11-27 04:25:45 -07:00
|
|
|
.for set in ${sets}
|
|
|
|
if [ -d ${DESTDIR}/var/db/pkg/${set}-${OSREV} ]; then \
|
2010-05-08 08:15:29 -06:00
|
|
|
${INSTALL_DATA} DESCR.${set} \
|
2006-11-27 04:25:45 -07:00
|
|
|
${DESTDIR}/var/db/pkg/${set}-${OSREV}/+DESCR; \
|
2010-08-05 00:34:19 -06:00
|
|
|
${INSTALL_DATA} DEINSTALL \
|
2006-11-27 04:25:45 -07:00
|
|
|
${DESTDIR}/var/db/pkg/${set}-${OSREV}/+DEINSTALL; \
|
|
|
|
fi
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.generated
|
2007-03-27 18:22:03 -06:00
|
|
|
|
2007-04-04 09:24:27 -06:00
|
|
|
distclean: clean
|
|
|
|
|
2007-03-28 14:05:15 -06:00
|
|
|
includes:
|
|
|
|
@echo No includes here.
|
|
|
|
|
2007-03-27 18:22:03 -06:00
|
|
|
.include <bsd.xorg.mk>
|