From 571c2047cc0ab335a08020c2f4e3c71ea0483a28 Mon Sep 17 00:00:00 2001 From: Peter Griess Date: Wed, 20 Nov 2013 13:36:57 -0800 Subject: [PATCH] Remove generated .cpp files on 'make clean' Summary: - Add generated .cpp files to CLEANFILES so that they get swept up during 'make clean' and friends Test Plan: - autoreconf -i && ./configure && make check && make clean Reviewed By: davejwatson@fb.com FB internal diff: D1066270 --- folly/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/folly/Makefile.am b/folly/Makefile.am index a211ade3..91a993bf 100644 --- a/folly/Makefile.am +++ b/folly/Makefile.am @@ -2,6 +2,8 @@ SUBDIRS = . test ACLOCAL_AMFLAGS = -I m4 +CLEANFILES = + noinst_PROGRAMS = generate_fingerprint_tables generate_fingerprint_tables_SOURCES = build/GenerateFingerprintTables.cpp generate_fingerprint_tables_LDADD = libfolly.la @@ -121,12 +123,15 @@ nobase_follyinclude_HEADERS = \ FormatTables.cpp: build/generate_format_tables.py build/generate_format_tables.py +CLEANFILES += FormatTables.cpp EscapeTables.cpp: build/generate_escape_tables.py build/generate_escape_tables.py +CLEANFILES += EscapeTables.cpp GroupVarintTables.cpp: build/generate_varint_tables.py build/generate_varint_tables.py +CLEANFILES += GroupVarintTables.cpp libfolly_la_SOURCES = \ Benchmark.cpp \ @@ -168,6 +173,7 @@ endif FingerprintTables.cpp: generate_fingerprint_tables ./generate_fingerprint_tables +CLEANFILES += FingerprintTables.cpp libfollyfingerprint_la_SOURCES = \ FingerprintTables.cpp -- 2.34.1