Bladeren bron

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.
Guillem Jover 15 jaren geleden
bovenliggende
commit
572caf5245
1 gewijzigde bestanden met toevoegingen van 1 en 7 verwijderingen
  1. 1 7
      man/Makefile.am

+ 1 - 7
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