[Xcb-commit] xcb-util

Bart Massey bart at kemper.freedesktop.org
Tue Sep 12 02:02:58 PDT 2006


 xcb-util/atom/Makefile.am |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

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

    Removed GNU make constructs from Makefile.
    Prepared for repair of "make distcheck".

diff --git a/xcb-util/atom/Makefile.am b/xcb-util/atom/Makefile.am
index 62119d1..c0b3ecc 100644
--- a/xcb-util/atom/Makefile.am
+++ b/xcb-util/atom/Makefile.am
@@ -7,21 +7,21 @@ xcbinclude_HEADERS = xcb_atom.h
 
 AM_CFLAGS = -Wall
 
-libXCBAtom_la_SOURCES = atoms.c
+libXCBAtom_la_SOURCES = atoms.c atomlist.m4 atoms.gperf.m4 xcb_atom.h.m4
 libXCBAtom_la_CFLAGS = $(XCB_CFLAGS)
 libXCBAtom_la_LIBADD = $(XCB_LIBS)
 
 pkgconfig_DATA = xcb-atom.pc
 
-EXTRA_DIST = xcb-atom.pc.in atomlist.m4 atoms.gperf.m4 xcb_atom.h.m4
+EXTRA_DIST = xcb-atom.pc.in
 
 BUILT_SOURCES = atoms.c atoms.gperf xcb_atom.h
 
-%.c: %.gperf
-	$(GPERF) --output-file $@ $*.gperf
+atoms.c: atoms.gperf
+	$(GPERF) --output-file $@ $<
 
-atoms.gperf: atomlist.m4
-xcb_atom.h: atomlist.m4
+atoms.gperf: atoms.gperf.m4 atomlist.m4
+	$(M4) $< >$@
 
-%: %.m4
-	$(M4) $< > $@
+xcb_atom.h: xcb_atom.h.m4 atomlist.m4
+	$(M4) $< >$@


More information about the xcb-commit mailing list