[project @ 2000-05-10 16:51:52 by sewardj]
[ghc-hetmet.git] / ghc / utils / hstags / Makefile
index 4f46318..d92352f 100644 (file)
@@ -1,5 +1,6 @@
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/version.mk
 
 # Note: might be overridden from cmd-line (see install rule below)
 INSTALLING=0
@@ -13,10 +14,10 @@ SCRIPT_OBJS=hstags.prl
 SCRIPT_SUBST_VARS=\
  INSTALLING \
  TOP_PWD \
- PROJECTVERSION
+ ProjectVersionInt
 
 ifneq "$(BIN_DIST)" "1"
-SCRIPT_SUBST_VARS += libdir TMPDIR
+SCRIPT_SUBST_VARS += libdir libexecdir TMPDIR
 endif
 
 #
@@ -57,8 +58,6 @@ install ::
        @$(RM) $(SCRIPT_PROG)
        @$(MAKE) $(MFLAGS) INSTALLING=1 $(SCRIPT_PROG)
 
-
-CLEAN_FILES += $(SCRIPT_PROG)
 include $(TOP)/mk/target.mk