# no INTERP: do *not* want #! script stuck on the front
# what's the deal? I'll add it for now -- SOF
-INTERP=$(PERL)
+INTERP=perl
#
# install setup
#
# what's the deal? I'll add it for now (and perhaps pay for it later :-)
# -- SOF
-INTERP=$(PERL)
+INTERP=perl
#
# install setup
PRELUDE_DIRS \
PROJECTVERSION SED
-INTERP=$(PERL)
+INTERP=perl
+
#
# 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=../..
include $(TOP)/mk/boilerplate.mk
SCRIPT_SUBST_VARS=TMPDIR SCRIPT_PATH
-INTERP=$(PERL)
+INTERP=perl
CLEAN_FILES += $(SCRIPT_PROG)
#
# is to be installed or not.
#
ifeq "$(INSTALLING)" "1"
-SCRIPT_PATH:=$(libdir)
+ifeq "$(BIN_DIST)" "1"
+SCRIPT_PREFIX_FILES += prefix.txt
else
-SCRIPT_PATH:=$(FPTOOLS_TOP_ABS)/ghc/utils/stat2resid
+INSTLIBDIR_GHC:=$(libdir)
+endif
+else
+INSTLIBDIR_GHC:=$(FPTOOLS_TOP_ABS)/ghc/utils/stat2resid
endif
#
--- /dev/null
+#
+# 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..
+#
#
# Perl script expect bindings for the following variables to be prepended
#
-# TMPDIR SCRIPT_PATH
+# TMPDIR INSTLIBDIR_GHC
#
$debug = 0;
$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('process-gcstats.prl') || die "Can't load process-gcstats.prl!\n";