Commit 1633d277 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Fix scribo doc (un)installation.

	* Makefile.am: Add doc in SUBDIRS.

	* doc/Makefile.am: Fix install/uninstall rules.
parent f485fc26
2012-02-01 Guillaume Lazzara <z@lrde.epita.fr>
Fix scribo doc (un)installation.
* Makefile.am: Add doc in SUBDIRS.
* doc/Makefile.am: Fix install/uninstall rules.
2013-03-07 Guillaume Lazzara <z@lrde.epita.fr>
* tests/unit_test/unit-test.mk: Regen.
......
......@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with Olena. If not, see <http://www.gnu.org/licenses/>.
SUBDIRS = demo tests src
SUBDIRS = demo doc tests src
.PHONY: bin
bin:
......
......@@ -223,11 +223,16 @@ maintainer-clean-local:
# .../srcdoc", which installs our dir into the previous one, instead
# of replacing it.
install-data-local:
$(mkdir_p) $(DESTDIR)$(htmldir)
$(mkdir_p) $(DESTDIR)$(htmldir)/$(USER_REFMAN)
# The user reference manual is located in a subdirectory, hence this
# special case.
rm -rf $(DESTDIR)$(htmldir)/$(USER_REFMAN)
cp -r $(srcdir)/$(USER_REFMAN)/html $(DESTDIR)$(htmldir)/$(USER_REFMAN)
rm -rf $(DESTDIR)$(htmldir)/$(USER_REFMAN)/scribo
cp -r $(srcdir)/$(USER_REFMAN)/html \
$(DESTDIR)$(htmldir)/$(USER_REFMAN)/scribo
# Update paths to milena documentation directory
$(DESTDIR)$(htmldir)/$(USER_REFMAN)/scribo/installdox \
-l milena.tag@$(DESTDIR)$(htmldir)/$(USER_REFMAN)/milena \
`find $(DESTDIR)$(htmldir)/$(USER_REFMAN)/scribo/ -name '*.html'`
# Other HTML directories can be processed uniformly.
for d in $(DATA_html_dirs_inst); do \
rm -rf $(DESTDIR)$(htmldir)/$$d; \
......@@ -246,5 +251,5 @@ uninstall-local:
done
# Same remark as above regarding the special case of the user
# reference manual.
chmod -R 700 $(DESTDIR)$(htmldir)/$(USER_REFMAN)
rm -rf $(DESTDIR)$(htmldir)/$(USER_REFMAN)
chmod -R 700 $(DESTDIR)$(htmldir)/$(USER_REFMAN)/scribo
rm -rf $(DESTDIR)$(htmldir)/$(USER_REFMAN)/scribo
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