[Xcb-commit] xcb

Bart Massey bart at kemper.freedesktop.org
Tue Sep 12 00:42:22 PDT 2006


 xcb/src/Makefile.am       |   95 +++++++++++++++-------------------------------
 xcb/src/extensions/README |    3 -
 2 files changed, 31 insertions(+), 67 deletions(-)

New commits:
diff-tree 317d57c75ddbde959e0d54b85d76e04669797857 (from 00ab1af3872dd1e987cd5fbc889517f9b27c122b)
Author: Bart Massey <bart at cs.pdx.edu>
Date:   Tue Sep 12 00:42:11 2006 -0700

    Cleaned up previous fix for GNU Make stuff.
    Got "make distcheck" to work (whatever that does).

diff --git a/xcb/src/Makefile.am b/xcb/src/Makefile.am
index 47e43d8..43f7236 100644
--- a/xcb/src/Makefile.am
+++ b/xcb/src/Makefile.am
@@ -71,6 +71,29 @@ ESSENTIAL_EXTENSIONS = \
 		extensions/xc_misc.h \
 		extensions/xc_misc.c
 
+EXTENSION_XML = \
+		extensions/bigreq.xml \
+		extensions/composite.xml \
+		extensions/damage.xml \
+		extensions/dpms.xml \
+		extensions/glx.xml \
+		extensions/randr.xml \
+		extensions/record.xml \
+		extensions/render.xml \
+		extensions/res.xml \
+		extensions/screensaver.xml \
+		extensions/shape.xml \
+		extensions/shm.xml \
+		extensions/sync.xml \
+		extensions/xc_misc.xml \
+		extensions/xevie.xml \
+		extensions/xf86dri.xml \
+		extensions/xfixes.xml \
+		extensions/xprint.xml \
+		extensions/xtest.xml \
+		extensions/xvmc.xml \
+		extensions/xv.xml
+
 COREHEADERS = xproto.h
 CORESOURCES = xproto.c
 COREPROTO   = $(CORESOURCES) $(COREHEADERS)
@@ -83,7 +106,7 @@ libXCB_la_LIBADD = $(XCBPROTO_LIBS) $(XP
 libXCB_la_SOURCES = \
 		xcb_conn.c xcb_out.c xcb_in.c xcb_ext.c xcb_xid.c \
 		xcb_list.c xcb_util.c xcb_xlib.c xcb_auth.c \
-		$(COREPROTO) $(ESSENTIAL_EXTENSIONS)
+		$(COREPROTO) $(ESSENTIAL_EXTENSIONS) c-client.xsl
 
 # Explanation for -version-info:
 # -version-info current:revision:age
@@ -198,67 +221,11 @@ SUFFIXES = .xml
 	            -o $@ $(srcdir)/c-client.xsl $< 
 
 xproto.xml: $(XCBPROTO_XCBINCLUDEDIR)/xproto.xml
-	ln -s $< $@
-
-extensions/bigreq.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/bigreq.xml
-	ln -s $< $@
-
-extensions/composite.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/composite.xml
-	ln -s $< $@
-
-extensions/damage.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/damage.xml
-	ln -s $< $@
-
-extensions/dpms.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/dpms.xml
-	ln -s $< $@
-
-extensions/glx.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/glx.xml
-	ln -s $< $@
-
-extensions/randr.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/randr.xml
-	ln -s $< $@
-
-extensions/record.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/record.xml
-	ln -s $< $@
-
-extensions/render.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/render.xml
-	ln -s $< $@
-
-extensions/res.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/res.xml
-	ln -s $< $@
-
-extensions/screensaver.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/screensaver.xml
-	ln -s $< $@
-
-extensions/shape.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/shape.xml
-	ln -s $< $@
-
-extensions/shm.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/shm.xml
-	ln -s $< $@
-
-extensions/sync.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/sync.xml
-	ln -s $< $@
-
-extensions/xc_misc.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/xc_misc.xml
-	ln -s $< $@
-
-extensions/xevie.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/xevie.xml
-	ln -s $< $@
-
-extensions/xf86dri.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/xf86dri.xml
-	ln -s $< $@
-
-extensions/xfixes.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/xfixes.xml
-	ln -s $< $@
-
-extensions/xprint.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/xprint.xml
-	ln -s $< $@
-
-extensions/xtest.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/xtest.xml
-	ln -s $< $@
-
-extensions/xvmc.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/xvmc.xml
-	ln -s $< $@
+	$(LN_S) $< $@
 
-extensions/xv.xml: $(XCBPROTO_XCBINCLUDEDIR)/extensions/xv.xml
-	ln -s $< $@
+$(EXTENSION_XML):
+	[ -d extensions ] || mkdir extensions
+	for i in $(EXTENSION_XML) ; do \
+           rm -f $$i ; \
+           $(LN_S) $(XCBPROTO_XCBINCLUDEDIR)/$$i $$i ; \
+        done
diff --git a/xcb/src/extensions/README b/xcb/src/extensions/README
deleted file mode 100644
index 21d6d06..0000000
--- a/xcb/src/extensions/README
+++ /dev/null
@@ -1,3 +0,0 @@
-It is convenient not to have to teach Makefile.am when to
-create this directory, but GIT won't track an empty
-directory.  Hence this file.  Sorry.


More information about the xcb-commit mailing list