[beast: 200/210] DOCS: fix srcdir!=builddir for html/ installation
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 200/210] DOCS: fix srcdir!=builddir for html/ installation
- Date: Fri, 5 Jul 2013 22:50:48 +0000 (UTC)
commit c71bb9dad4f08c0c7192e0cda7ed343ab0207fa8
Author: Tim Janik <timj gnu org>
Date: Tue Jul 2 22:12:58 2013 +0200
DOCS: fix srcdir!=builddir for html/ installation
docs/Makefile.am | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index e828613..d2d139d 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -21,8 +21,9 @@ EXTRA_DIST += bse-categories.txt interpolation.txt ChangeLog.svn
htmldocsbase = ${docdir}
htmldocsdir = ${htmldocsbase}/html
htmldocs_DATA = html/doc-version # build dependency for doxygen docs
-install-data-hook: @INGIT@ html/doc-version
- umask 022 && cp -RP html/ "$(DESTDIR)$(htmldocsbase)/"
+htmlparent = $(if $(findstring \#, \ INGIT@..), $(srcdir), $(builddir))
+install-data-hook: @INGIT@ $(htmldocs_DATA)
+ umask 022 && cp -RP $(htmlparent)/html/ "$(DESTDIR)$(htmldocsbase)/"
uninstall-local:
rm -Rf "$(DESTDIR)$(htmldocsbase)/html/"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]