aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlkoeller <lkoeller@FreeBSD.org>2004-05-16 20:55:01 +0800
committerlkoeller <lkoeller@FreeBSD.org>2004-05-16 20:55:01 +0800
commit4f9f85a977c83761b94bd5669b69bed97a9c0619 (patch)
tree6deae87932f29dfa97e00dbbe18d09608c59912a
parent167c4686d91e36a0bb4f7805a19bfa4cc5aa270f (diff)
downloadfreebsd-ports-gnome-4f9f85a977c83761b94bd5669b69bed97a9c0619.tar.gz
freebsd-ports-gnome-4f9f85a977c83761b94bd5669b69bed97a9c0619.tar.zst
freebsd-ports-gnome-4f9f85a977c83761b94bd5669b69bed97a9c0619.zip
o) Create DOCSDIR before installing ReleaseNotes, PDF, HTML Doku
Submitted by: Kris Kennaway <kris@obsecurity.org>
-rw-r--r--sysutils/bacula-server/Makefile6
-rw-r--r--sysutils/bacula/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index 2f494dbb8d2c..6ec95f6b8fa5 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -188,11 +188,11 @@ post-install:
done; \
.if !defined(NOPORTDOCS)
- ${INSTALL_DATA} ${WRKSRC}/doc/bacula.pdf ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DOCSDIR}
- ${MKDIR} ${DOCSDIR}/html-manual
+ ${MKDIR} -p ${DOCSDIR}/html-manual
cd ${WRKSRC}/doc && ${FIND} html-manual | \
${CPIO} -pdm -L -R root:wheel ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/bacula.pdf ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DOCSDIR}
.endif
# Inform user after install about important things ....
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile
index 2f494dbb8d2c..6ec95f6b8fa5 100644
--- a/sysutils/bacula/Makefile
+++ b/sysutils/bacula/Makefile
@@ -188,11 +188,11 @@ post-install:
done; \
.if !defined(NOPORTDOCS)
- ${INSTALL_DATA} ${WRKSRC}/doc/bacula.pdf ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DOCSDIR}
- ${MKDIR} ${DOCSDIR}/html-manual
+ ${MKDIR} -p ${DOCSDIR}/html-manual
cd ${WRKSRC}/doc && ${FIND} html-manual | \
${CPIO} -pdm -L -R root:wheel ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/bacula.pdf ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DOCSDIR}
.endif
# Inform user after install about important things ....