Commit 5fb9e913 authored by sof's avatar sof
Browse files

[project @ 1997-03-20 22:21:55 by sof]

2.02 final update
parent f9946a75
...@@ -8,7 +8,7 @@ SCRIPT_SUBST_VARS=RAWCPP ...@@ -8,7 +8,7 @@ SCRIPT_SUBST_VARS=RAWCPP
# no INTERP: do *not* want #! script stuck on the front # no INTERP: do *not* want #! script stuck on the front
# what's the deal? I'll add it for now -- SOF # what's the deal? I'll add it for now -- SOF
INTERP=$(PERL) INTERP=perl
# #
# install setup # install setup
......
...@@ -46,7 +46,7 @@ endif ...@@ -46,7 +46,7 @@ endif
# #
# what's the deal? I'll add it for now (and perhaps pay for it later :-) # what's the deal? I'll add it for now (and perhaps pay for it later :-)
# -- SOF # -- SOF
INTERP=$(PERL) INTERP=perl
# #
# install setup # install setup
......
...@@ -16,7 +16,8 @@ SCRIPT_SUBST_VARS= \ ...@@ -16,7 +16,8 @@ SCRIPT_SUBST_VARS= \
PRELUDE_DIRS \ PRELUDE_DIRS \
PROJECTVERSION SED PROJECTVERSION SED
INTERP=$(PERL) INTERP=perl
# #
# install setup # install setup
# #
......
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# $Id: Makefile,v 1.4 1997/03/19 20:44:56 simonpj Exp $ # $Id: Makefile,v 1.5 1997/03/20 22:21:55 sof Exp $
TOP=../.. TOP=../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
...@@ -18,7 +18,7 @@ INSTALLING=0 ...@@ -18,7 +18,7 @@ INSTALLING=0
SCRIPT_SUBST_VARS=TMPDIR SCRIPT_PATH SCRIPT_SUBST_VARS=TMPDIR SCRIPT_PATH
INTERP=$(PERL) INTERP=perl
CLEAN_FILES += $(SCRIPT_PROG) CLEAN_FILES += $(SCRIPT_PROG)
# #
...@@ -27,9 +27,13 @@ CLEAN_FILES += $(SCRIPT_PROG) ...@@ -27,9 +27,13 @@ CLEAN_FILES += $(SCRIPT_PROG)
# is to be installed or not. # is to be installed or not.
# #
ifeq "$(INSTALLING)" "1" ifeq "$(INSTALLING)" "1"
SCRIPT_PATH:=$(libdir) ifeq "$(BIN_DIST)" "1"
SCRIPT_PREFIX_FILES += prefix.txt
else else
SCRIPT_PATH:=$(FPTOOLS_TOP_ABS)/ghc/utils/stat2resid INSTLIBDIR_GHC:=$(libdir)
endif
else
INSTLIBDIR_GHC:=$(FPTOOLS_TOP_ABS)/ghc/utils/stat2resid
endif endif
# #
......
#
# stat2resid - generating graphs from garbage collection stats.
#
# To use the script on your system, the following variable
# needs to be uncommented and set, if it hasn't already
# been set above automatically:
#
#$INSTLIBDIR_GHC='/local/fp/lib/fptools/i386-unknown-footos/ghc-2.02';
#
#
# Pls ignore the gumpf that immediately follows..
#
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# Perl script expect bindings for the following variables to be prepended # Perl script expect bindings for the following variables to be prepended
# #
# TMPDIR SCRIPT_PATH # TMPDIR INSTLIBDIR_GHC
# #
$debug = 0; $debug = 0;
...@@ -16,7 +16,7 @@ if ( $ENV{'TMPDIR'} ) { # where to make tmp file names ...@@ -16,7 +16,7 @@ if ( $ENV{'TMPDIR'} ) { # where to make tmp file names
$ENV{'TMPDIR'} = ${TMPDIR}; # set the env var as well $ENV{'TMPDIR'} = ${TMPDIR}; # set the env var as well
} }
@INC = ( ${SCRIPT_PATH} ); @INC = ( ${INSTLIBDIR_GHC} );
require('parse-gcstats.prl') || die "Can't load parse-gcstats.prl!\n"; require('parse-gcstats.prl') || die "Can't load parse-gcstats.prl!\n";
require('process-gcstats.prl') || die "Can't load process-gcstats.prl!\n"; require('process-gcstats.prl') || die "Can't load process-gcstats.prl!\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment