* doc/Makefile.am (DATA_html_dirs_inst): New.
Use it...
(install-data-local, uninstall-local): Here.
---
milena/ChangeLog | 8 ++++++++
milena/doc/Makefile.am | 10 ++++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index deee63a..0806c6b 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,13 @@
2010-03-30 Roland Levillain <roland(a)lrde.epita.fr>
+ Do not install low-quality HTML documentation.
+
+ * doc/Makefile.am (DATA_html_dirs_inst): New.
+ Use it...
+ (install-data-local, uninstall-local): Here.
+
+2010-03-30 Roland Levillain <roland(a)lrde.epita.fr>
+
Adjust the installation of the HTML documentation.
* doc/Makefile.am (all-local): Do not depend on
diff --git a/milena/doc/Makefile.am b/milena/doc/Makefile.am
index 088cf41..273b3d8 100644
--- a/milena/doc/Makefile.am
+++ b/milena/doc/Makefile.am
@@ -729,6 +729,12 @@ maintainer-clean-local:
## Installation. ##
## -------------- ##
+## FIXME: The current HTML outputs of technical.tex, tutorial.tex and
+## ref-guide.tex are awful. Only install the white paper HTML product
+## for the moment.
+# DATA_html_dirs_inst = $(DATA_html_dirs)
+DATA_html_dirs_inst = $(WHITE_PAPER)
+
# We install by hand, otherwise Automake produces "install .../srcdoc
# .../srcdoc", which installs our dir into the previous one, instead
# of replacing it.
@@ -739,7 +745,7 @@ install-data-local:
rm -rf $(DESTDIR)$(htmldir)/$(USER_REFMAN)
cp -r $(srcdir)/$(USER_REFMAN)/html $(DESTDIR)$(htmldir)/$(USER_REFMAN)
# Other HTML directories can be processed uniformly.
- for d in $(DATA_html_dirs); do \
+ for d in $(DATA_html_dirs_inst); do \
rm -rf $(DESTDIR)$(htmldir)/$$d; \
cp -r $(srcdir)/$$d $(DESTDIR)$(htmldir); \
done
@@ -750,7 +756,7 @@ install-data-local:
-o -exec chmod a+r {} \;
uninstall-local:
- for d in $(DATA_html_dirs); do \
+ for d in $(DATA_html_dirs_inst); do \
chmod -R 700 $(DESTDIR)$(htmldir)/$$d; \
rm -rf $(DESTDIR)$(htmldir)/$$d; \
done
--
1.5.6.5
Show replies by date