From d333f20b4a139387215017c9d52ee591ba6b199d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 1 May 2023 14:21:19 -0400 Subject: build-sys: Squash automake conditional warning re `.PHONY` --- Makefile-man.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile-man.am b/Makefile-man.am index 41c59327..0cb80f4d 100644 --- a/Makefile-man.am +++ b/Makefile-man.am @@ -17,6 +17,9 @@ # You should have received a copy of the GNU Lesser General Public # License along with this library. If not, see . +# This needs to be outside the conditional to avoid a warning +.PHONY: manhtml + if ENABLE_MAN # If you add a new man page here, add a reference to it in index.xml and @@ -65,7 +68,6 @@ noinst_DATA += $(manhtml_files) # Convenience target for building the just the HTML man pages manhtml: $(manhtml_files) -.PHONY: manhtml endif EXTRA_DIST += man/index.xml $(man1_MANS:.1=.xml) $(man5_MANS:.5=.xml) -- cgit v1.2.1