]> git.draconx.ca Git - cdecl99.git/commitdiff
Use (un)install-local to (un)install .mo files.
authorNick Bowler <nbowler@draconx.ca>
Thu, 29 Sep 2011 00:05:49 +0000 (20:05 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 29 Sep 2011 00:05:49 +0000 (20:05 -0400)
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.

Makefile.am

index 1bf6490ead24b6fb80fa5ad422543fed3c87aec7..6dfd5a229ddf86f438ca438bb41cb5cc46cd9cfe 100644 (file)
@@ -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'`; \