The following commit has been merged in the master branch:
commit 572caf52457bc4158f6443aa455414e1d5e861dd
Author: Guillem Jover <[email protected]>
Date: Mon Sep 19 16:48:51 2011 +0200
build: Use rm instead of po4a on make clean to not change the .pot file
There's no way to invoke po4a for the clean target w/o it possibly
modifying the .pot file, which makes the distcheck target fail in
that case.
diff --git a/man/Makefile.am b/man/Makefile.am
index 9e1c4e4..da4279d 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -72,13 +72,8 @@ PO4A_V = $(PO4A_V_$(V))
PO4A_V_ = $(PO4A_V_$(AM_DEFAULT_VERBOSITY))
PO4A_V_0 = @echo " PO4A $@";
-PO4A_RM_V = $(PO4A_RM_V_$(V))
-PO4A_RM_V_ = $(PO4A_RM_V_$(AM_DEFAULT_VERBOSITY))
-PO4A_RM_V_0 = @echo " PO4ARM $@";
-
PO4A_COMMON_OPTS = --previous --variable builddir=$(CURDIR)
PO4A_BUILD_OPTS = $(PO4A_COMMON_OPTS) --no-backups
-PO4A_CLEAN_OPTS = $(PO4A_COMMON_OPTS) --rm-backups --rm-translations
all-local: all-local-@USE_PO4A@
@@ -95,8 +90,7 @@ clean-local: clean-local-@USE_PO4A@
clean-local-no:
clean-local-yes:
- $(PO4A_RM_V) cd $(srcdir) && \
- $(PO4A) $(PO4A_CLEAN_OPTS) po/po4a.cfg
+ rm -rf $(LINGUAS_DIST)
$(AM_V_at) rm -f man.stamp
.PHONY: update-po
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]