summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2010-06-22 15:56:06 +0200
committerJulien Danjou <julien@danjou.info>2010-06-22 15:56:06 +0200
commit28693b4713eb50a395557a1cc1673f8f07579d4d (patch)
tree396c7c9d874f91282a27e93e4c6e734b18e7c698
parent824b3cdce7ee6abecdda9cb3fdef086f8c4c9a7a (diff)
downloadxcb-pthread-stubs-28693b4713eb50a395557a1cc1673f8f07579d4d.tar.gz
Fix `distcheck' target
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 6d59f4e..2329572 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,8 +3,10 @@ pkgconfig_DATA = pthread-stubs.pc
if BUILD_LIB
stubs.c: list.m4 stubs.c.m4
- m4 -P stubs.c.m4 > $@
+ m4 -P -I $(srcdir) stubs.c.m4 > $@
lib_LTLIBRARIES = libpthread-stubs.la
-libpthread_stubs_la_SOURCES = stubs.c
+nodist_libpthread_stubs_la_SOURCES = stubs.c
+CLEANFILES = stubs.c
endif
+EXTRA_libpthread_stubs_la_SOURCES = stubs.c.m4