summaryrefslogtreecommitdiff
path: root/ham/usrp-docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ham/usrp-docs/Makefile')
-rw-r--r--ham/usrp-docs/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/ham/usrp-docs/Makefile b/ham/usrp-docs/Makefile
index cf5b27c1bdf..e4ef048f1d5 100644
--- a/ham/usrp-docs/Makefile
+++ b/ham/usrp-docs/Makefile
@@ -1,21 +1,27 @@
-# $NetBSD: Makefile,v 1.6 2009/08/12 12:21:41 markd Exp $
+# $NetBSD: Makefile,v 1.7 2009/10/07 17:06:13 joerg Exp $
PKGNAME= usrp-docs-${VERSION}
COMMENT= Documentation for the usrp module
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../meta-pkgs/gnuradio/Makefile.common"
USE_TOOLS+= make
CONFIGURE_ARGS+=--enable-doxygen
CONFIGURE_ARGS+=--docdir=${LOCALBASE}/share/doc/gnuradio/usrp
-BUILD_DEPENDS+= doxygen>=1.5.7.1:../../devel/doxygen
+BUILD_DEPENDS+= doxygen>=1.6.1:../../devel/doxygen
+BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
+
+BUILD_DIRS= usrp/doc
-do-build:
- cd ${WRKSRC}/usrp/doc && make
+DOCDIR= ${PREFIX}/share/doc/usrp-${PKGVERSION_NOREV}
+INSTALLATION_DIRS= ${DOCDIR}
do-install:
- cd ${WRKSRC}/usrp/doc && make install
+ cp -r ${WRKSRC}/usrp/doc/html ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/usrp/doc/usrp_guide.html ${DESTDIR}${DOCDIR}/html
.include "../../ham/usrp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"