Skip to content

Commit

Permalink
no-install target a la make -n.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Abigail authored and jhi committed Aug 26, 2000
1 parent 03284eb commit 4ad019e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
13 changes: 8 additions & 5 deletions Makefile.SH
Expand Up @@ -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)" ]; \
Expand Down
3 changes: 1 addition & 2 deletions installman
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion installperl
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4ad019e

Please sign in to comment.