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 <[email protected]>
---
 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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to