From dd2c489a9ae68c67a2d7fa8f61dd3af6cdb12977 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 12 Sep 2010 17:01:49 +0200 Subject: Don't version-control generated code --- odb/makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'odb/makefile') diff --git a/odb/makefile b/odb/makefile index d8592e4..08bd9c5 100644 --- a/odb/makefile +++ b/odb/makefile @@ -156,7 +156,8 @@ $(clean): \ $(addsuffix .cxx.clean,$(cxx_cobj)) \ $(addsuffix .cxx.clean,$(cxx_pod)) \ $(addsuffix .cxx.clean,$(cxx_dod)) \ - $(addsuffix .cxx.clean,$(cxx_cod)) + $(addsuffix .cxx.clean,$(cxx_cod)) \ + $(addprefix $(out_base)/,$(cli_tun:.cli=.cxx.cli.clean)) $(call message,rm $$1,rm -f $$1,$(out_base)/odb.so) $(call message,,rm -f $(out_base)/odb.l) @@ -165,7 +166,7 @@ $(clean): \ ifeq ($(out_base),$(src_base)) $(odb): | $(out_base)/.gitignore -$(out_base)/.gitignore: files := odb odb.so +$(out_base)/.gitignore: files := odb odb.so $(genf) $(clean): $(out_base)/.gitignore.clean $(call include,$(bld_root)/git/gitignore.make) -- cgit v1.1