From: guy Date: Tue, 26 Feb 2008 19:24:27 +0000 (+0000) Subject: From Mike Frysinger: have the "install" target depend on "all" so you X-Git-Tag: tcpdump-4.0.0~24 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/de2e57d96131b40b8feb38ec9797b8c8950dbc44 From Mike Frysinger: have the "install" target depend on "all" so you can do "make install" without having to do "make" first. --- diff --git a/Makefile.in b/Makefile.in index e0332b46..b277cf1f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -17,7 +17,7 @@ # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. # -# @(#) $Header: /tcpdump/master/tcpdump/Makefile.in,v 1.317.2.2 2008-02-06 10:49:22 guy Exp $ (LBL) +# @(#) $Header: /tcpdump/master/tcpdump/Makefile.in,v 1.317.2.3 2008-02-26 19:24:27 guy Exp $ (LBL) # # Various configurable paths (remember to edit Makefile.in, not Makefile) @@ -175,7 +175,7 @@ version.c: $(srcdir)/VERSION fi | sed -e 's/.*/char version[] = "&";/' > $@ -install: +install: all [ -d $(DESTDIR)$(sbindir) ] || \ (mkdir -p $(DESTDIR)$(sbindir); chmod 755 $(DESTDIR)$(sbindir)) $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG)