X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Futils%2Fhstags%2FMakefile;h=d92352fc00a7d47c75833cc6b208faf8bde7d623;hb=f6af472e5394338ca7f663263f189b7336f918cb;hp=4f46318bfbc39ba618de0b83d7fcb513b1263abd;hpb=1955f86f16dc9fa86cc3ba8ab390c3ef1cbc3c95;p=ghc-hetmet.git diff --git a/ghc/utils/hstags/Makefile b/ghc/utils/hstags/Makefile index 4f46318..d92352f 100644 --- a/ghc/utils/hstags/Makefile +++ b/ghc/utils/hstags/Makefile @@ -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