From 1cec1f4777b8e764b4519206e6c38b80fa72aaad Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 7 Dec 2011 14:33:25 -0500 Subject: [PATCH] No need for install target to depend explicitly on install-dirs, the install-foo targets all depend on it. --- doc/Makefile.in | 2 +- include/Makefile.in | 2 +- plugins/sample/Makefile.in | 2 +- plugins/sample_group/Makefile.in | 2 +- plugins/sudoers/Makefile.in | 2 +- src/Makefile.in | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/Makefile.in b/doc/Makefile.in index ec5a8525b..9c66c65ea 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -202,7 +202,7 @@ LICENSE: $(srcdir)/license.pod pre-install: -install: install-dirs install-doc +install: install-doc install-dirs: $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir) \ diff --git a/include/Makefile.in b/include/Makefile.in index 150ca621d..de868daa3 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -49,7 +49,7 @@ Makefile: $(srcdir)/Makefile.in pre-install: -install: install-dirs install-includes +install: install-includes install-dirs: $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir) diff --git a/plugins/sample/Makefile.in b/plugins/sample/Makefile.in index 27dd44f71..52b2f09db 100644 --- a/plugins/sample/Makefile.in +++ b/plugins/sample/Makefile.in @@ -85,7 +85,7 @@ sample_plugin.la: $(OBJS) pre-install: -install: install-dirs install-plugin +install: install-plugin install-dirs: $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir) diff --git a/plugins/sample_group/Makefile.in b/plugins/sample_group/Makefile.in index 8a11d97fd..40ae2b28e 100644 --- a/plugins/sample_group/Makefile.in +++ b/plugins/sample_group/Makefile.in @@ -85,7 +85,7 @@ sample_group.la: $(OBJS) pre-install: -install: install-dirs install-plugin +install: install-plugin install-dirs: $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir) diff --git a/plugins/sudoers/Makefile.in b/plugins/sudoers/Makefile.in index b2e18527f..d050254c0 100644 --- a/plugins/sudoers/Makefile.in +++ b/plugins/sudoers/Makefile.in @@ -233,7 +233,7 @@ pre-install: ./visudo -c -f $(DESTDIR)$(sudoersdir)/sudoers; \ fi -install: install-dirs install-plugin install-binaries install-sudoers install-doc +install: install-plugin install-binaries install-sudoers install-doc install-dirs: $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir) \ diff --git a/src/Makefile.in b/src/Makefile.in index 51b725b65..bc7396f72 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -105,7 +105,7 @@ sesh: sesh.o pre-install: -install: install-dirs install-binaries @INSTALL_NOEXEC@ +install: install-binaries @INSTALL_NOEXEC@ install-dirs: $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \ -- 2.40.0