Makefile (1077B)
1 # This file is in the public domain 2 # 3 # Hand-written makefile: this used to be a Makefile.am processed by automake, 4 # but the build was migrated to Meson. It is invoked by 5 # scripts/doxygen.meson.sh (the 'doxygen' run_target), and can also be run 6 # directly from this directory. 7 # 8 # PROJECT_NUMBER is appended to the config so the version does not have to be 9 # kept up to date by hand in anastasis.doxy. 10 11 DOXYFILE = anastasis.doxy 12 # get_version.sh looks for ./.version and ./.git, so it must run from the 13 # top of the source tree. 14 PACKAGE_VERSION ?= $(shell cd ../.. && ./scripts/get_version.sh) 15 16 .PHONY: all full fast clean help 17 18 all: full 19 20 help: 21 @echo "Generate documentation:" 22 @echo " make full - full documentation with dependency graphs (slow)" 23 @echo " make fast - fast mode without dependency graphs" 24 25 full: $(DOXYFILE) 26 { cat $(DOXYFILE); echo "PROJECT_NUMBER = $(PACKAGE_VERSION)"; } | doxygen - 27 28 fast: $(DOXYFILE) 29 { sed 's/\(HAVE_DOT.*=\).*/\1 NO/' $(DOXYFILE); \ 30 echo "PROJECT_NUMBER = $(PACKAGE_VERSION)"; } | doxygen - 31 32 clean: 33 rm -rf html version.doxy