[project @ 2000-07-11 21:25:37 by michaelw]
[ghc-hetmet.git] / ghc / utils / mkdependHS / Makefile
index 2ceeb70..9d2f64f 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.18 1999/10/05 10:30:33 simonmar Exp $
+# $Id: Makefile,v 1.21 2000/04/27 11:04:37 simonmar Exp $
 
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
@@ -22,7 +22,6 @@ INPLACE_SCRIPT_PROG    = mkdependHS-inplace
 ifeq "$(INSTALLING)" "1"
 TOP_PWD        := $(prefix)
 SCRIPT_PROG    =  $(INSTALLED_SCRIPT_PROG)
-SCRIPT_LINK    =  ghc
 else
 TOP_PWD        := $(FPTOOLS_TOP_ABS)
 SCRIPT_PROG    =  $(INPLACE_SCRIPT_PROG)
@@ -33,13 +32,13 @@ SCRIPT_OBJS=mkdependHS.prl
 ifeq "$(BIN_DIST)" "1"
 SCRIPT_PREFIX_FILES += prefix.txt
 else
-SCRIPT_SUBST_VARS += libdir datadir TMPDIR SED
+SCRIPT_SUBST_VARS += libdir libexecdir datadir TMPDIR SED
 endif
 
 # don't recurse on 'make install'
 #
 ifeq "$(INSTALLING)" "1"
-all clean veryclean maintainer-clean ::
+all clean distclean mostlyclean maintainer-clean ::
        $(MAKE) INSTALLING=0 BIN_DIST=0 $(MFLAGS) $@
 endif