This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
no-install target a la make -n.
authorAbigail <abigail@abigail.be>
Sat, 26 Aug 2000 03:57:34 +0000 (23:57 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 26 Aug 2000 14:12:23 +0000 (14:12 +0000)
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

Makefile.SH
installman
installperl

index a7cbaad..423a118 100644 (file)
@@ -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)" ]; \
index 7f7837b..c1f3837 100755 (executable)
@@ -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
 
index 84e51f4..b1a1877 100755 (executable)
@@ -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;
 }