[PATCH libXaw3d 1/5] Use AM_YFLAGS and BUILT_SOURCES rather than EXTRA_DIST

Gaetan Nadon memsize at videotron.ca
Tue Aug 30 19:00:28 PDT 2011


Automake will handle the distribution of laygram.h
http://www.gnu.org/software/automake/manual/automake.html#Yacc-and-Lex
http://cgit.freedesktop.org/xorg/app/twm/tree/src/Makefile.am
http://cgit.freedesktop.org/xorg/app/xgc/tree/Makefile.am

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 src/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index b1a2a31..c30d355 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,6 @@
 lib_LTLIBRARIES = libXaw3d.la
 
+AM_YFLAGS = -d
 AM_CFLAGS = \
 	$(CWARNFLAGS)
 
@@ -70,4 +71,6 @@ libXaw3d_la_LIBADD = \
 
 libXaw3d_la_LDFLAGS = -version-info 8:0:0 -no-undefined
 
-EXTRA_DIST = laygram.h sharedlib.c Template.c
+BUILT_SOURCES = laygram.h
+
+EXTRA_DIST = sharedlib.c Template.c
-- 
1.7.4.1



More information about the xorg-devel mailing list