From: Ralf Wildenhues Date: Sat, 2 May 2009 07:10:20 +0000 (+0200) Subject: Use automake *-local hooks without commands, for extensibility. X-Git-Tag: v0.1~5958 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=008ba294e4dfb636ac76e88e998ff58f89224151;p=gnulib.git Use automake *-local hooks without commands, for extensibility. * modules/localcharset (Makefile.am): Rename install-exec-local rule to install-exec-localcharset, mark it phony, and make it a prerequisite of install-exec-local. Likewise, rename the uninstall-local rule to uninstall-localcharset, mark phony, and make it a prerequisite of the former. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 1b3895fe0..e7c301b86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-05-02 Ralf Wildenhues + + Use automake *-local hooks without commands, for extensibility. + * modules/localcharset (Makefile.am): Rename install-exec-local + rule to install-exec-localcharset, mark it phony, and make it a + prerequisite of install-exec-local. Likewise, rename the + uninstall-local rule to uninstall-localcharset, mark phony, and + make it a prerequisite of the former. + 2009-05-01 Ralf Wildenhues Bruno Haible diff --git a/modules/localcharset b/modules/localcharset index 2d4a7009a..d01da33e5 100644 --- a/modules/localcharset +++ b/modules/localcharset @@ -39,7 +39,8 @@ all-local: charset.alias ref-add.sed ref-del.sed charset_alias = $(DESTDIR)$(libdir)/charset.alias charset_tmp = $(DESTDIR)$(libdir)/charset.tmp -install-exec-local: all-local +install-exec-local: install-exec-localcharset +install-exec-localcharset: all-local if test $(GLIBC21) = no; then \ case '$(host_os)' in \ darwin[56]*) \ @@ -67,7 +68,8 @@ install-exec-local: all-local fi ; \ fi -uninstall-local: all-local +uninstall-local: uninstall-localcharset +uninstall-localcharset: all-local if test -f $(charset_alias); then \ sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \ if grep '^# Packages using this file: $$' $(charset_tmp) \