Commit 12dd4793 authored by Roland Levillain's avatar Roland Levillain
Browse files

Do not install low-quality HTML documentation.

	* doc/Makefile.am (DATA_html_dirs_inst): New.
	Use it...
	(install-data-local, uninstall-local): Here.
parent e4a1fc81
2010-03-30 Roland Levillain <roland@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@lrde.epita.fr>
 
Adjust the installation of the HTML documentation.
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment