summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-07-03 15:05:45 +0530
committerArun Isaac2021-07-03 15:05:45 +0530
commit53ae2f2418779dfafc19b205e0312d8329979d19 (patch)
treeff77f9774a6a9215a67343adca2f799b79eafd13
parent051249990a2546a4ae0f677b29602c4de149f8b7 (diff)
downloadccwl-53ae2f2418779dfafc19b205e0312d8329979d19.tar.gz
ccwl-53ae2f2418779dfafc19b205e0312d8329979d19.tar.lz
ccwl-53ae2f2418779dfafc19b205e0312d8329979d19.zip
Makefile: Comment on -local targets.
* Makefile.am: Comment on use of install-data-local, install-info-local, install-html-local and uninstall-local targets.
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index be17f08..d62897e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -102,8 +102,14 @@ $(SKRIBILO_BUILD_DIR)/ccwl.html: doc/ccwl.skb ccwl/skribilo.scm $(DOC_IMAGES) $(
$(AM_V_GEN)$(top_builddir)/pre-inst-env $(SKRIBILO) -t html $< -o $@/index.html
cp -vr $(DOC_IMAGES) $@
+# The install target depends on the install-data target, which in turn
+# depends on the install-data-local target. Use the install-data-local
+# target to install info documentation by default on `make install'.
install-data-local: install-info-local
+# The install-info and install-html targets depend on the
+# install-info-local and install-html-local targets respectively. Use
+# them to install the skribilo generated info and html documentation.
install-info-local: $(SKRIBILO_BUILD_DIR)/ccwl.info
$(MKDIR_P) $(DESTDIR)$(infodir)
$(INSTALL_DATA) $(SKRIBILO_BUILD_DIR)/ccwl.info $(DESTDIR)$(infodir)
@@ -112,6 +118,8 @@ install-html-local: $(SKRIBILO_BUILD_DIR)/ccwl.html
$(MKDIR_P) $(DESTDIR)$(htmldir)
$(INSTALL_DATA) $(SKRIBILO_BUILD_DIR)/ccwl.html $(DESTDIR)$(htmldir)
+# The uninstall target depends on the uninstall-local target. Use it
+# to uninstall the installed info and html documentation.
uninstall-local:
rm -f $(DESTDIR)$(infodir)/ccwl.info $(DESTDIR)$(htmldir)/ccwl.html