From: simonpj Date: Fri, 27 Aug 2004 08:29:04 +0000 (+0000) Subject: [project @ 2004-08-27 08:29:04 by simonpj] X-Git-Tag: Initial_conversion_from_CVS_complete~1676 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=f89def00249034d46351d0c079d0c71804ca7ce2;p=ghc-hetmet.git [project @ 2004-08-27 08:29:04 by simonpj] Better tags generation, avoiding derived files (still a bit ad hoc) --- diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 399757f..8d8e452 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -582,6 +582,16 @@ MKDEPENDC_SRCS = parser/Parser.y : parser/Parser.y.pp EXTRA_SRCS += parser/Parser.y + +#----------------------------------------------------------------------------- +# Source files for tags file generation +# +# We want to excluded derived sources, because they won't be in the source +# tree, which is where we are going to move the TAGS file to.a + +TAGS_HS_SRCS = parser/Parser.y.pp $(filter-out $(DERIVED_SRCS) main/Config.hs parser/Parser.y, $(sort $(SRCS))) + + include $(TOP)/mk/target.mk # -----------------------------------------------------------------------------