From ed4b2a99cb57d55aafc45cbc3dff1b939b09f250 Mon Sep 17 00:00:00 2001 From: q-posev Date: Thu, 4 Nov 2021 12:02:14 +0100 Subject: [PATCH 1/2] add html and doc rules --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 2e3e931..4f555b1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -173,6 +173,9 @@ dist_html_DATA = $(HTML_FILES) $(HTML_TANGLED): $(htmlizer) +html: $(dist_html_DATA) +doc: html + # =============== DEVELOPER MODE =============== # SWIG = @SWIG@ From f03812d2b4004b91119f19cb4c87aa9b92bf69db Mon Sep 17 00:00:00 2001 From: q-posev Date: Mon, 8 Nov 2021 20:46:24 +0100 Subject: [PATCH 2/2] fix warning about conflicting .PHONY --- Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 361e821..3935e1f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -186,7 +186,7 @@ HDF5_CPPFLAGS = @HDF5_CPPFLAGS@ if TREXIO_DEVEL -CLEANFILES += $(SOURCES) $(trexio_f) $(trexio_h) +CLEANFILES += $(SOURCES) $(trexio_f) $(trexio_h) .git_hash BUILT_SOURCES += $(SOURCES) $(trexio_f) $(test_trexio_f) @@ -261,8 +261,7 @@ CLEANFILES += $(pytrexio_c) \ python/src/*.c \ python/src/*.h -.PHONY: cppcheck python-test python-install python-sdist check-numpy +.PHONY: cppcheck python-test python-install python-sdist check-numpy FORCE endif -.PHONY: FORCE