1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
AUTOMAKE_OPTIONS = -Wno-portability
.PHONY: all clean
EXTRA_DIST = $(wildcard *.dox) $(wildcard *.in)
# Adding `-' to make rules in order to ignore errors
clean:
rm -rf html
distclean: clean
rm -rf Doxyfile main_page.dox Makefile
all: Doxyfile main_page.dox docs
# Old of versions of doxygen do not generate html correctly, if
# html dir already contains output of previous run.
# That's why we delete it first.
docs: clean
$(DOXYGEN)
install: all
test X"$(DOXYGEN)" = "X" || \
install -d $(DESTDIR)$(datadir)/doc/$(PACKAGE)
test X"$(DOXYGEN)" = "X" || \
cp -rf html $(DESTDIR)$(datadir)/doc/$(PACKAGE)
|