summaryrefslogtreecommitdiffstats
path: root/config/commence-doc.am
diff options
context:
space:
mode:
Diffstat (limited to 'config/commence-doc.am')
-rw-r--r--config/commence-doc.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/config/commence-doc.am b/config/commence-doc.am
new file mode 100644
index 0000000..9f8592f
--- /dev/null
+++ b/config/commence-doc.am
@@ -0,0 +1,21 @@
+## This file supplies Makefile.am files in the doc directory (and subdirectories)
+## with the rules they need.
+
+include $(top_srcdir)/config/commence.am
+
+# Ignore most rules
+lib progs check test _test:
+ @echo "Nothing to be done"
+
+tests TAGS tags dep depend:
+ @@SETX@; for d in X $(SUBDIRS); do \
+ if test $$d != X; then \
+ (cd $$d && $(MAKE) $@) || exit 1; \
+ fi;
+ done
+
+# In docs directory, install-doc is the same as install
+install-doc install-all:
+ $(MAKE) install
+uninstall-doc uninstall-all:
+ $(MAKE) uninstall