summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-08-25 20:41:31 -0400
committerGaetan Nadon <memsize@videotron.ca>2011-09-01 13:38:44 -0400
commit25f85dd2171e3c0810a5555c99e7fe3870566f0a (patch)
tree80c557816c9fc7c13161047a3b03628a8a35cf8a
parent934fd2abe69739971e7f03f3d86e3574bb7e3c5c (diff)
Use AM_YFLAGS and BUILT_SOURCES rather than EXTRA_DIST
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@videotron.ca>
-rw-r--r--src/Makefile.am5
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