build-sys: Squash automake conditional warning re `.PHONY`
authorColin Walters <walters@verbum.org>
Mon, 1 May 2023 18:21:19 +0000 (14:21 -0400)
committerColin Walters <walters@verbum.org>
Mon, 1 May 2023 18:21:37 +0000 (14:21 -0400)
Makefile-man.am

index 41c5932797f0a16d7a65d3eeece36ea048220cb8..0cb80f4d110ab938d9a9e78e20267a801aa0cf5f 100644 (file)
@@ -17,6 +17,9 @@
 # You should have received a copy of the GNU Lesser General Public
 # License along with this library. If not, see <https://www.gnu.org/licenses/>.
 
+# 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)