From 3d0e7f3d03253f86a53804a84959d2d6fc903567 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Wed, 24 Feb 2021 20:58:28 +1100 Subject: [PATCH] build-sys: Fix the uninstall-man target If automake doesn't see a dist_man_MANS then there is no uninstall-man target. This fix uses the main Makefile targets. Signed-off-by: Craig Small --- Makefile.am | 1 - man-po/Makefile.am | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 454a04ff..ec3885b5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,3 @@ -## Process this file with automake to produce Makefile.in CYGWINFLAGS = if CYGWIN diff --git a/man-po/Makefile.am b/man-po/Makefile.am index 3d421072..6a4eb570 100644 --- a/man-po/Makefile.am +++ b/man-po/Makefile.am @@ -23,7 +23,6 @@ LINGUAS_DIST = $(shell sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po4 # If the user has not defined it let's use the default. LINGUAS ?= $(LINGUAS_DIST) - PO4A_V = $(PO4A_V_@AM_V@) PO4A_V_ = $(PO4A_V_@AM_DEFAULT_V@) PO4A_V_0 = @echo " PO4A $@"; @@ -67,7 +66,7 @@ install-data-local: files="$$files $(srcdir)/$$lang/$$trans"; \ fi; \ done; \ - $(MAKE) install-man \ + $(MAKE) -C .. install-man \ mandir="$(mandir)/$$lang" \ man_MANS="" \ dist_man_MANS="$$files"; \ @@ -83,7 +82,7 @@ uninstall-local: files="$$files $(srcdir)/$$lang/$$trans"; \ fi; \ done; \ - $(MAKE) uninstall-man \ + $(MAKE) -C .. uninstall-man \ mandir="$(mandir)/$$lang" \ man_MANS="" \ dist_man_MANS="$$files"; \ -- 2.40.0