[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] libxl: prefix *.for-check with _ to mark it as a generated file



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1343897973 -3600
# Node ID e638a0aeb9856003661aa75d684855c6fd940b3c
# Parent  5bbb555747204f9b1926741416f79ab6b8b02361
libxl: prefix *.for-check with _ to mark it as a generated file.

Keeps it out of my greps etc.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 5bbb55574720 -r e638a0aeb985 .hgignore
--- a/.hgignore Thu Aug 02 09:57:15 2012 +0100
+++ b/.hgignore Thu Aug 02 09:59:33 2012 +0100
@@ -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 -r 5bbb55574720 -r e638a0aeb985 tools/libxl/Makefile
--- a/tools/libxl/Makefile      Thu Aug 02 09:57:15 2012 +0100
+++ b/tools/libxl/Makefile      Thu Aug 02 09:59:33 2012 +0100
@@ -114,10 +114,10 @@ all: $(CLIENTS) libxenlight.so libxenlig
 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)
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.