summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-03-07 16:10:53 -0500
committerGaetan Nadon <memsize@videotron.ca>2011-06-15 18:25:00 -0400
commit98e224e3da245f29d281df357d27b53acdccb5c7 (patch)
treec31d48e51f4d6a183b460a1fbee334f9c9affb35 /src
parent70a7f34dfc4d7ea4f7425b9a7359a08a35752bb0 (diff)
lex & yacc: only header file needs to be in BUILT_SOURCES
http://www.gnu.org/software/automake/manual/automake.html#Yacc-and-Lex This completes reversal of commit ea03b6bcd1045dfc0d6947e4858de8994d61170b The Makefile generates a valid "gram.h: gram.c" rule. The Makefile already has gram.c gram.h and lex.c in the maintainer-clean-generic target. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index cfd0b44..427761a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -65,10 +65,8 @@ twm_SOURCES = \
gram.y \
lex.l
-BUILT_SOURCES = gram.h gram.c lex.c deftwmrc.c
-MAINTAINERCLEANFILES = $(BUILT_SOURCES)
-
-gram.h: gram.c
+BUILT_SOURCES = gram.h deftwmrc.c
+MAINTAINERCLEANFILES = deftwmrc.c
deftwmrc.c: system.twmrc
$(AM_V_GEN)rm -f $@ ; \