From: Peter Griess Date: Wed, 20 Nov 2013 21:36:57 +0000 (-0800) Subject: Remove generated .cpp files on 'make clean' X-Git-Tag: v0.22.0~789 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=571c2047cc0ab335a08020c2f4e3c71ea0483a28;p=folly.git 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 --- 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