Browse Source

Makefile: Add 'doxy' target for doxygen docs.

A top-level 'make clean' will remove the whole doxygen/ output directory.
pull/2/head
Uwe Hermann 13 years ago
parent
commit
6c278b19b4
  1. 7
      Makefile

7
Makefile

@ -67,6 +67,9 @@ install: lib
@printf " INSTALL scripts\n" @printf " INSTALL scripts\n"
$(Q)$(INSTALL) -m 0644 scripts/* $(SHAREDIR) $(Q)$(INSTALL) -m 0644 scripts/* $(SHAREDIR)
doxy:
doxygen Doxyfile
clean: clean:
$(Q)for i in $(addprefix lib/,$(TARGETS)) \ $(Q)for i in $(addprefix lib/,$(TARGETS)) \
$(addsuffix /*/*,$(addprefix examples/,$(TARGETS))); do \ $(addsuffix /*/*,$(addprefix examples/,$(TARGETS))); do \
@ -75,6 +78,8 @@ clean:
$(MAKE) -C $$i clean || exit $?; \ $(MAKE) -C $$i clean || exit $?; \
fi; \ fi; \
done done
@printf " CLEAN doxygen\n"
$(Q)rm -rf doxygen
.PHONY: build lib examples install clean .PHONY: build lib examples install doxy clean

Loading…
Cancel
Save