From f1fc2168c0075497d39b48b1c88a89c5115ec64d Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 11 Dec 2016 00:48:36 +0100 Subject: [PATCH] Makefile: add rules for documentation, simplify listing --- Makefile | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 3fbb4fbc..afe00e2d 100644 --- a/Makefile +++ b/Makefile @@ -69,21 +69,10 @@ install: $(WAFCMD) install $(WAFOPTS) list_installed: - find $(DESTDIR) -ls | \ - sed 's|$(DESTDIR)|/«destdir»|' + find $(DESTDIR) -ls | sed 's|$(DESTDIR)|/«destdir»|' list_installed_python: - ( find $(PYDESTDIR) -ls || make list_installed_python_package ) | \ - sed 's|$(PYDESTDIR)|/«pydestdir»|' - -list_installed_python_package: pip show -f aubio - PACKAGE_LOCATION=$(shell pip show -f aubio | grep ^Location | cut -d \ -f 2) \ - make list_installed_python_package_content - -list_installed_python_package_content: - ( [ -d $(PACKAGE_LOCATION) ] && find $(PACKAGE_LOCATION) -ls ) || \ - unzip -l $(PACKAGE_LOCATION) list_all_installed: list_installed list_installed_python @@ -240,9 +229,18 @@ test_python_only_clean: test_python_only \ uninstall_python \ check_clean_python +sphinx: configure + $(WAFCMD) sphinx $(WAFOPTS) + +doxygen: configure + $(WAFCMD) doxygen $(WAFOPTS) + +manpages: configure + $(WAFCMD) manpages $(WAFOPTS) + +html: doxygen sphinx -html: - cd doc && make html +docs: html manpages dist: distclean expandwaf $(WAFCMD) dist -- 2.11.0