blob: cee303fd7217523a3c33f9c296c90fc91abb2750 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- Install.PL.orig 2003-04-02 02:21:00.000000000 -0700
+++ Install.PL 2014-05-29 11:23:05.000000000 -0700
@@ -59,13 +59,13 @@
# example to use the version number in your path.
# Make sure this remains in single quotes.
#
-$DEST = '/usr/local/bin/rmagic-$(VERSION)/';
+$DEST = "$ENV{'DESTDIR'}$ENV{'PREFIX'}/reportmagic/";
#
# Where do you want documentation to be installed?
# You can use string concatenation, as in this example,
# to install the docs below the program.
-$DOC = $DEST . 'docs/';
+$DOC = "$ENV{'DESTDIR'}$ENV{'PREFIX'}/share/doc/reportmagic/";
#
@@ -269,7 +269,6 @@
$DOC = 'docs/' if defined $args{only_modules};
print "\nInstallation complete.\n";
print "For help on using Report Magic see $DOC"."index.html.\n";
- print "You must agree to the license agreement at $DOC"."license.html before using Report Magic.\n";
} # end if
@@ -305,7 +304,6 @@
chmod( $mode, $dest );
} else {
print "\t***Error: Can not copy $src to $dest. $!.\n";
- $rc = 0;
} # end if
} # end if
return $rc;
|