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
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)" ]; \
$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
$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;
}