cause "make clean" to remove the .mo links used to run in-place

This commit is contained in:
Yann Dirson 2004-09-11 19:45:10 +00:00
parent c556cbf259
commit 97dc2eb832
2 changed files with 8 additions and 2 deletions

View File

@ -53,6 +53,9 @@ uninstall-hook:
if test -d $(datadir) ; then echo `rmdir $(datadir)` ; fi
if test -d $(prefix) ; then echo `rmdir $(prefix)` ; fi
clean-local:
rm -rf po/*/LC_MESSAGES
BINARY_STAGING=/tmp/$(PACKAGE)-$(VERSION)-staging
BINARY_DIST=/tmp/$(PACKAGE)-binary-$(VERSION).tar.gz
DATA_DIST=/tmp/$(PACKAGE)-data-$(VERSION).tar.gz

View File

@ -684,7 +684,7 @@ maintainer-clean-generic:
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
clean-am: clean-generic clean-local mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
@ -738,7 +738,7 @@ uninstall-info: uninstall-info-recursive
uninstall-man: uninstall-man6
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
check-am clean clean-generic clean-recursive ctags \
check-am clean clean-generic clean-local clean-recursive ctags \
ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
dist-tarZ dist-zip distcheck distclean distclean-generic \
distclean-hdr distclean-recursive distclean-tags \
@ -790,6 +790,9 @@ uninstall-hook:
if test -d $(datadir) ; then echo `rmdir $(datadir)` ; fi
if test -d $(prefix) ; then echo `rmdir $(prefix)` ; fi
clean-local:
rm -rf po/*/LC_MESSAGES
binary-dist:
@rm -rf $(BINARY_STAGING) $(BINARY_DIST)
@make install-exec DESTDIR=$(BINARY_STAGING)