From 01580ccdb2063766ad4570ac1f16115b0f94007e Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 3 Aug 2012 09:54:05 +0100 Subject: libxl: prefix *.for-check with _ to mark it as a generated file. Keeps it out of my greps etc. Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Campbell --- .hgignore | 2 +- tools/libxl/Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.hgignore b/.hgignore index a5bf51257c..5ef6838db6 100644 --- a/.hgignore +++ b/.hgignore @@ -187,7 +187,7 @@ ^tools/libxl/testidl\.c$ ^tools/libxl/tmp\..*$ ^tools/libxl/.*\.new$ -^tools/libxl/libxl\.api-for-check +^tools/libxl/_libxl\.api-for-check ^tools/libvchan/vchan-node[12]$ ^tools/libaio/src/.*\.ol$ ^tools/libaio/src/.*\.os$ diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 63a8157a62..47fb110830 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -114,10 +114,10 @@ $(LIBXL_OBJS) $(LIBXLU_OBJS) $(XL_OBJS) $(SAVE_HELPER_OBJS): $(AUTOINCS) genpath-target = $(call buildmakevars2file,_paths.h.tmp) $(eval $(genpath-target)) -libxl.api-ok: check-libxl-api-rules libxl.api-for-check +libxl.api-ok: check-libxl-api-rules _libxl.api-for-check $(PERL) $^ -%.api-for-check: %.h +_%.api-for-check: %.h $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_$*.o) -c -E $< $(APPEND_CFLAGS) \ -DLIBXL_EXTERNAL_CALLERS_ONLY=LIBXL_EXTERNAL_CALLERS_ONLY \ >$@.new @@ -210,7 +210,7 @@ install: all .PHONY: clean clean: $(RM) -f _*.h *.o *.so* *.a $(CLIENTS) $(DEPS) - $(RM) -f _*.c *.pyc _paths.*.tmp *.api-for-check + $(RM) -f _*.c *.pyc _paths.*.tmp _*.api-for-check $(RM) -f testidl.c.new testidl.c # $(RM) -f $(AUTOSRCS) $(AUTOINCS) -- cgit v1.2.3