The following commit has been merged in the master branch: commit e1f03a94a08efb9de3736ff8b9c7c3fe24cda50e Author: Guillem Jover <guil...@debian.org> Date: Tue Mar 17 02:18:18 2009 +0200
Use autoconf AC_ARG_PROGRAM support to rename install-info Rename the binary on install to avoid colliding with autoconf's install-info builtin targets. diff --git a/utils/.gitignore b/utils/.gitignore index 28a2697..93495c2 100644 --- a/utils/.gitignore +++ b/utils/.gitignore @@ -1,3 +1,2 @@ start-stop-daemon -install-info -install-info-stamp +dpkg-install-info diff --git a/utils/Makefile.am b/utils/Makefile.am index 0e718e3..33900ac 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -6,9 +6,10 @@ INCLUDES = \ -idirafter $(top_srcdir)/libcompat \ -I$(top_srcdir)/lib +sbin_PROGRAMS = if WITH_START_STOP_DAEMON - sbin_PROGRAMS = start-stop-daemon + sbin_PROGRAMS += start-stop-daemon start_stop_daemon_SOURCES = \ start-stop-daemon.c @@ -16,16 +17,12 @@ if WITH_START_STOP_DAEMON start_stop_daemon_LDADD = ../libcompat/libcompat.a $(SSD_LIBS) endif -EXTRA_DIST = install-info.c -CLEANFILES = install-info install-info-stamp +sbin_PROGRAMS += dpkg-install-info # Automake has its own install-info rule, gah -all-local: install-info-stamp -install-info-stamp: $(srcdir)/install-info.c - $(CC) $(CFLAGS) -o install-info $(srcdir)/install-info.c - touch $@ - -install-exec-local: install-info-stamp - $(mkdir_p) $(DESTDIR)$(sbindir) - $(INSTALL_PROGRAM) install-info $(DESTDIR)$(sbindir) +dpkg_install_info_SOURCES = install-info.c + +dpkg_install_info_LDADD = ../libcompat/libcompat.a + +transform = s/dpkg-install-info/install-info/; $(program_transform_name) -- dpkg's main repository -- To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org