From: Nick Bowler Date: Thu, 29 Sep 2011 00:05:49 +0000 (-0400) Subject: Use (un)install-local to (un)install .mo files. X-Git-Tag: v1~95 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/17f7bee3881e3495227254a24c1e433e60a7a7e2 Use (un)install-local to (un)install .mo files. These install rules do not depend on any other installed file, so there's no need to use the -hook versions which guarantee ordering. Use -local instead. --- diff --git a/Makefile.am b/Makefile.am index 1bf6490..6dfd5a2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -79,7 +79,7 @@ po/$(PACKAGE).pot: $(SOURCES) $(AM_V_at)$(MKDIR_P) $(@D) $(AM_V_GEN)$(MSGFMT) -c -o $@ $< -install-data-hook: install-mo +install-data-local: install-mo install-mo: $(MOFILES) for mo in $?; do \ lang=`expr "$$mo" : '.*/\(.*\)\.mo' \| "$$mo" : '\(.*\)\.mo'`; \ @@ -91,7 +91,7 @@ install-mo: $(MOFILES) set +x; \ done -uninstall-hook: uninstall-mo +uninstall-local: uninstall-mo uninstall-mo: for mo in $(ALL_MOFILES); do \ lang=`expr "$$mo" : '.*/\(.*\)\.mo' \| "$$mo" : '\(.*\)\.mo'`; \