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 <csmall@dropbear.xyz>
This commit is contained in:
parent
cce0e21e59
commit
3d0e7f3d03
@ -1,4 +1,3 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
CYGWINFLAGS =
|
||||
if CYGWIN
|
||||
|
@ -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"; \
|
||||
|
Loading…
Reference in New Issue
Block a user