Look for a package.conf.d directory containing per-package .conf files
[ghc-hetmet.git] / ghc / utils / hstags / Makefile
index 56ba3b1..981bafd 100644 (file)
@@ -1,8 +1,6 @@
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
-
-# No ways
-override WAYS=
+include $(TOP)/mk/version.mk
 
 # Note: might be overridden from cmd-line (see install rule below)
 INSTALLING=0
@@ -15,12 +13,11 @@ SCRIPT_OBJS=hstags.prl
 
 SCRIPT_SUBST_VARS=\
  INSTALLING \
- TMPDIR \
  TOP_PWD \
- PROJECTVERSION
+ ProjectVersionInt
 
 ifneq "$(BIN_DIST)" "1"
-SCRIPT_SUBST_VARS += libdir
+SCRIPT_SUBST_VARS += libdir libexecdir DEFAULT_TMPDIR
 endif
 
 #
@@ -61,8 +58,6 @@ install ::
        @$(RM) $(SCRIPT_PROG)
        @$(MAKE) $(MFLAGS) INSTALLING=1 $(SCRIPT_PROG)
 
-
-CLEAN_FILES += $(SCRIPT_PROG)
 include $(TOP)/mk/target.mk