From: Abigail Date: Sat, 26 Aug 2000 03:57:34 +0000 (-0400) Subject: no-install target a la make -n. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4ad019ef94780941c09f3a5748d7f3e22c585ed0;p=p5sagit%2Fp5-mst-13.2.git no-install target a la make -n. Subject: [PATCH] make no-install (was Re: [PATCH] installation not quite silent yet.) Message-ID: <20000826075735.18912.qmail@foad.org> p4raw-id: //depot/perl@6839 --- diff --git a/Makefile.SH b/Makefile.SH index a7cbaad..423a118 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -553,14 +553,17 @@ extra.pods: miniperl install-strip: $(MAKE) STRIPFLAGS=-s install -install: all +install: $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) -install-verbose: all - $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=--verbose +install-verbose: + $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-V -install-silent: all - $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=--silent +install-silent: + $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-s + +no-install: + $(MAKE) install.perl install.man STRIPFLAGS=$(STRIPFLAGS) INSTALLFLAGS=-n install.perl: all installperl if [ -n "$(COMPILE)" ]; \ diff --git a/installman b/installman index 7f7837b..c1f3837 100755 --- a/installman +++ b/installman @@ -49,9 +49,8 @@ $opts{man3dir} = $Config{'installman3dir'} $opts{man3ext} = $Config{'man3ext'} unless defined($opts{man3ext}); $opts{silent} ||= $opts{S}; -$opts{verbose} ||= $opts{V}; - $opts{notify} ||= $opts{n}; +$opts{verbose} ||= $opts{V} || $opts{notify}; #Sanity checks diff --git a/installperl b/installperl index 84e51f4..b1a1877 100755 --- a/installperl +++ b/installperl @@ -56,7 +56,7 @@ while (@ARGV) { $versiononly = 1 if $ARGV[0] eq '-v'; $silent = 1 if $ARGV[0] eq '-S'; $otherperls = 0 if $ARGV[0] eq '-o'; - $verbose = 1 if $ARGV[0] eq '-V'; + $verbose = 1 if $ARGV[0] eq '-V' || $ARGV [0] eq '-n'; shift; }