[libvirt] [PATCH] Add a rule for generating .hgignore

john.levon at sun.com john.levon at sun.com
Wed Jan 21 22:17:46 UTC 2009


# HG changeset patch
# User john.levon at sun.com
# Date 1232576262 28800
# Node ID c58822f94b2b5e87a363128a4bd36ec2846054fe
# Parent  c109dd0801246b82aed8d5f9b1fa4196432868d0
Add a rule for generating .hgignore

Signed-off-by: John Levon <john.levon at sun.com>

diff --git a/Makefile.maint b/Makefile.maint
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -717,3 +717,5 @@ sync-vcs-ignore-files:
 	mv $(c2g)-t $(c2g)
 	perl $(c2g)
 	rm -f $(c2g)
+	find $(srcdir) -name .gitignore | xargs cat \
+	    | sort -u | sed 's+\*+.*+' >.hgignore




More information about the libvir-list mailing list