Simplify Makefile.

This commit is contained in:
Juan Romero Pardines 2003-06-03 16:59:38 +00:00
parent 3446e07364
commit 07d671410b

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2003/06/03 16:32:43 xtraeme Exp $
# $NetBSD: Makefile,v 1.3 2003/06/03 16:59:38 xtraeme Exp $
#
DISTNAME= weewm-0.01
@ -17,11 +17,11 @@ EXAMPLESDIR= ${PREFIX}/share/examples/weewm
DOCDIR= ${PREFIX}/share/doc/weewm
do-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR} ${DOCDIR}
${INSTALL_PROGRAM} ${WRKSRC}/weewm ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/keys.rc ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/INSTALL ${WRKSRC}/FAQ \
${DOCDIR}
( cd ${WRKSRC} && for file in README FAQ INSTALL; do \
${INSTALL_DATA} $$file ${DOCDIR}; \
done )
.include "../../mk/bsd.pkg.mk"