aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorNicolas Dato <nicolas.dato@gmail.com>2025-07-17 20:52:49 -0300
committerNicolas Dato <nicolas.dato@gmail.com>2025-07-18 07:15:02 -0300
commitb1fcc672448f8403a567cd280c2151eb6d5799cb (patch)
tree995ef80358f3c88807d8034b5ad3f78b54301482 /doc/Makefile.am
parentee208b6f61a4f2f52d6a796acdb0764374d23234 (diff)
downloadlibtuberia-b1fcc672448f8403a567cd280c2151eb6d5799cb.tar.gz
adding documentation
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..0f61643
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,22 @@
+EXTRA_DIST = Doxyfile
+
+if DOXYGEN
+doc_DATA = doxygen_html.tar
+man3_MANS = doxygen_man/man3/tuberia.h.3
+
+doxygen_html doxygen_man/man3/tuberia.h.3 &: Doxyfile ../src/tuberia.h
+ doxygen Doxyfile
+
+doxygen_html.tar: doxygen_html
+ tar -cf doxygen_html.tar doxygen_html
+
+install-data-hook:
+ tar -C $(DESTDIR)$(docdir) -xf $(DESTDIR)$(docdir)/doxygen_html.tar
+ -rm -f $(DESTDIR)$(docdir)/doxygen_html.tar
+
+uninstall-hook:
+ -rm -rf $(DESTDIR)$(docdir)/doxygen_html
+
+mostlyclean-local:
+ -rm -rf doxygen_html doxygen_html.tar doxygen_man
+endif