From f89def00249034d46351d0c079d0c71804ca7ce2 Mon Sep 17 00:00:00 2001 From: simonpj Date: Fri, 27 Aug 2004 08:29:04 +0000 Subject: [PATCH] [project @ 2004-08-27 08:29:04 by simonpj] Better tags generation, avoiding derived files (still a bit ad hoc) --- ghc/compiler/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 # ----------------------------------------------------------------------------- -- 1.7.10.4