Created
January 19, 2012 19:57
-
-
Save goodell/1642197 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit a179be64ddfa8a9b7575128b23d1994335278a25 | |
Author: Dave Goodell <[email protected]> | |
Date: Wed Jan 18 17:41:43 2012 -0600 | |
${DESTDIR}${docdir} was not always created for some reason | |
No reviewer. | |
--- | |
Makefile.am | 1 + | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
diff --git a/Makefile.am b/Makefile.am | |
index 9732740..a7424a0 100644 | |
--- a/Makefile.am | |
+++ b/Makefile.am | |
@@ -308,6 +308,7 @@ INSTALL_DATA_LOCAL_TARGETS += install-pdf-local | |
# note that these PDFs are currently built in the srcdir, even in a VPATH | |
# build... | |
install-pdf-local: | |
+ if [ ! -e ${DESTDIR}${docdir} ] ; then $(MKDIR_P) ${DESTDIR}${docdir} ; fi | |
if [ -s $(srcdir)/doc/userguide/user.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/userguide/user.pdf ${DESTDIR}${docdir}/user.pdf ; fi | |
if [ -s $(srcdir)/doc/installguide/install.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/installguide/install.pdf ${DESTDIR}${docdir}/install.pdf ; fi | |
if [ -s $(srcdir)/doc/smpd/smpd_pmi.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/smpd/smpd_pmi.pdf ${DESTDIR}${docdir}/smpd_pmi.pdf ; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment