summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2023-05-01 14:21:19 -0400
committerColin Walters <walters@verbum.org>2023-05-01 14:21:37 -0400
commitd333f20b4a139387215017c9d52ee591ba6b199d (patch)
tree876a96f99ad271a33a6d35968b69ebc578eb9984
parent919212d73bce677fb1fbd2f9a43a270155348328 (diff)
downloadostree-d333f20b4a139387215017c9d52ee591ba6b199d.tar.gz
build-sys: Squash automake conditional warning re `.PHONY`
-rw-r--r--Makefile-man.am4
1 files changed, 3 insertions, 1 deletions
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 <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)