diff options
author | Keith Packard <keithp@keithp.com> | 2005-08-02 18:08:48 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2005-08-02 18:08:48 +0000 |
commit | ea03b6bcd1045dfc0d6947e4858de8994d61170b (patch) | |
tree | a2cfb3faa866a6f06a8c27e94d47685e672b8924 | |
parent | a12f281be43c1c86147fb89c99484ac558f64425 (diff) |
Mark generated files as BUILT_SOURCES and CLEANFILES to ensure they are
regenerated after 'make clean' and to make parallel builds work right.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/Makefile.am | 5 |
2 files changed, 13 insertions, 1 deletions
@@ -0,0 +1,9 @@ +2005-08-02 Keith Packard <keithp@keithp.com> + + * src/Makefile.am: +2005-08-02 Keith Packard <keithp@keithp.com> + + * Makefile.am: + Mark generated files as BUILT_SOURCES and CLEANFILES + to ensure they are regenerated after 'make clean' and + to make parallel builds work right. diff --git a/src/Makefile.am b/src/Makefile.am index c530057..6481938 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -60,7 +60,10 @@ twm_SOURCES = \ gram.y \ lex.l -BUILT_SOURCES = gram.h deftwmrc.c +BUILT_SOURCES = gram.h gram.c lex.c deftwmrc.c +CLEANFILES = $(BUILT_SOURCES) + +gram.h: gram.c deftwmrc.c: system.twmrc rm -f $@ |