libtaginfo / docs / Makefile.am

apidir  = @htmldir@/api
capidir = @htmldir@/c_api

dist_noinst_DATA = \
    field_name_table.ods \
    Doxyfile_lib \
    Doxyfile_lib.in \
    Doxyfile_c \
    Doxyfile_c.in


if LIBTAGINFO_DOXYGEN_DOCS_ENABLED

doxyfile_lib.stamp: $(wildcard $(top_srcdir)/libtaginfo/*)
	$(AM_V_GEN)cd $(top_builddir)/docs && doxygen Doxyfile_lib
	@touch $@

doxyfile_c.stamp: $(wildcard $(top_srcdir)/bindings/c/*)
	$(AM_V_GEN)cd $(top_builddir)/docs && doxygen Doxyfile_c
	@touch $@

CLEANFILES = doxyfile_lib.stamp doxyfile_c.stamp

all-local: doxyfile_lib.stamp doxyfile_c.stamp

# Assume CREATE_SUBDIRS is set to NO in the according Doxyfile
install-data-local:: doxyfile_lib.stamp doxyfile_c.stamp
	$(MKDIR_P) $(DESTDIR)$(apidir)
	$(INSTALL_DATA) libtaginfo/html/* $(DESTDIR)$(apidir)
	$(MKDIR_P) $(DESTDIR)$(capidir)
	$(INSTALL_DATA) libtaginfo_c/html/* $(DESTDIR)$(capidir)

uninstall-local::
	rm -f $(DESTDIR)$(apidir)/*.html
	rm -f $(DESTDIR)$(apidir)/*.png
	rm -f $(DESTDIR)$(apidir)/*.css
	rm -f $(DESTDIR)$(apidir)/*.js
	rm -f $(DESTDIR)$(capidir)/*.html
	rm -f $(DESTDIR)$(capidir)/*.png
	rm -f $(DESTDIR)$(capidir)/*.css
	rm -f $(DESTDIR)$(capidir)/*.js
	rm -f $(DESTDIR)$(htmldir)/*.html
	rm -f $(DESTDIR)$(docdir)/*.txt
	rm -f $(DESTDIR)$(htmldir)/*.png
	rm -f $(DESTDIR)$(htmldir)/*.svg
	rmdir --ignore-fail-on-non-empty $(DESTDIR)$(apidir) || \
		rmdir $(DESTDIR)$(apidir)
	rmdir --ignore-fail-on-non-empty $(DESTDIR)$(capidir) || \
		rmdir $(DESTDIR)$(capidir)

endif

clean-local:
	rm -rf libtaginfo
	rm -rf libtaginfo_c
	rm -f doxyfile_lib.stamp
	rm -f doxyfile_c.stamp

DISTCLEANFILES = \
    doxyfile_lib.stamp \
    doxyfile_c.stamp \
    Makefile.in
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.