|
From: <mor...@us...> - 2010-09-27 07:46:15
|
Revision: 3868
http://ecell.svn.sourceforge.net/ecell/?rev=3868&view=rev
Author: moriyoshi
Date: 2010-09-27 07:46:09 +0000 (Mon, 27 Sep 2010)
Log Message:
-----------
* Fix install rule so it fits to docbook to html converters that generate
nested directories under the output directory.
Modified Paths:
--------------
ecell3/trunk/doc/users-manual/Makefile.am
Modified: ecell3/trunk/doc/users-manual/Makefile.am
===================================================================
--- ecell3/trunk/doc/users-manual/Makefile.am 2010-09-22 17:06:13 UTC (rev 3867)
+++ ecell3/trunk/doc/users-manual/Makefile.am 2010-09-27 07:46:09 UTC (rev 3868)
@@ -3,9 +3,6 @@
DOC_pdf = users-manual.pdf
DOC_dvi = users-manual.dvi
-_htmldir = $(htmldir)/$(DOC_html)
-_html_DATA = $(DOC_html)/*
-
if BUILD_USERS_MANUAL_html
$(DOC_html)/*: users-manual.xml
$(DB2HTML) -o $(DOC_html) $<
@@ -56,6 +53,20 @@
EXTRA_DIST += $(DOC_html)
endif
+if BUILD_USERS_MANUAL_html
+install-data-local:
+ (cd "$(DOC_html)" && \
+ find . -type d | while read path; do $(INSTALL) -d "$(DESTDIR)$(htmldir)/$(DOC_html)/$$path"; done && \
+ find . -type f | while read path; do $(INSTALL) -m 644 $$path "$(DESTDIR)$(htmldir)/$(DOC_html)/$$path"; done)
+
+uninstall-local:
+ ( cd "$(DESTDIR)$(htmldir)" && rm -rf "$(DOC_html)" )
+else
+install-data-local:
+
+uninstall-local:
+endif
+
clean-local:
$(RM) -f $(DOC_ps) $(DOC_pdf) $(DOC_dvi)
$(RM) -rf *.junk *.tex
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|