summaryrefslogtreecommitdiff
path: root/cpp/docs/api/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/docs/api/Makefile.am')
-rw-r--r--cpp/docs/api/Makefile.am22
1 files changed, 3 insertions, 19 deletions
diff --git a/cpp/docs/api/Makefile.am b/cpp/docs/api/Makefile.am
index 7e2f2e811d..3f64ce6f46 100644
--- a/cpp/docs/api/Makefile.am
+++ b/cpp/docs/api/Makefile.am
@@ -1,9 +1,9 @@
-html: user.doxygen doxygen.tstamp
+html: doxygen.tstamp
dist-hook: html
-EXTRA_DIST=html
+nobase_dist_doc_DATA=$(wildcard html/*)
SOURCES = \
$(wildcard $(topsrcdir)/gen/*.h) \
@@ -12,27 +12,11 @@ SOURCES = \
$(wildcard $(topsrcdir)/lib/common/framing/*.h) \
$(wildcard $(topsrcdir)/lib/client/*.h)
-doxygen.tstamp: $(SOURCES)
+doxygen.tstamp: user.doxygen $(SOURCES)
doxygen user.doxygen
touch $@
clean-local:
rm -rf docs.tstamp html man latex doxygen.tstamp xml
-HTML_TARGET_DIR=$(pkgdatadir)/api/html
-
-install-data-local:
- installfiles=`echo html/*`; \
- if test "$$installfiles" = 'html/*'; \
- then echo '-- Nothing to install' ; \
- else \
- $(mkinstalldirs) $(DESTDIR)$(HTML_TARGET_DIR); \
- for i in $$installfiles; do \
- echo '-- Installing '$$i ; \
- $(INSTALL_DATA) $$i $(DESTDIR)$(HTML_TARGET_DIR); \
- done; \
- fi
-
-uninstall-local:
- rm -f $(DESTDIR)$(HTML_TARGET_DIR)/*