2011-04-15 14:33:25 +08:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/lib
|
|
|
|
|
2011-04-08 20:58:15 +08:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2011-05-18 17:24:34 +08:00
|
|
|
GNU_STANDARD_FILES = README.markdown COPYING AUTHORS ChangeLog NEWS
|
2011-04-08 20:58:15 +08:00
|
|
|
|
2012-05-08 11:59:31 +08:00
|
|
|
pcfiles = libsearpc.pc
|
|
|
|
|
|
|
|
pkgconfig_DATA = $(pcfiles)
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
2011-04-15 14:33:25 +08:00
|
|
|
EXTRA_DIST = $(GNU_STANDARD_FILES)
|
2011-04-08 20:58:15 +08:00
|
|
|
|
2012-05-08 11:59:31 +08:00
|
|
|
EXTRA_DIST += libsearpc.pc.in
|
|
|
|
|
2011-04-09 17:33:28 +08:00
|
|
|
if COMPILE_DEMO
|
2011-04-15 14:33:25 +08:00
|
|
|
MAKE_DEMO = demo
|
2011-04-09 17:33:28 +08:00
|
|
|
endif
|
2011-04-08 20:58:15 +08:00
|
|
|
|
2012-07-12 13:31:36 +08:00
|
|
|
SUBDIRS = json-glib lib pysearpc ${MAKE_DEMO} tests
|
2013-01-10 15:15:03 +08:00
|
|
|
|
|
|
|
install-data-local:
|
2013-01-12 13:51:26 +08:00
|
|
|
if MACOS
|
2013-04-13 12:44:31 +02:00
|
|
|
${SED} -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
2013-01-12 13:51:26 +08:00
|
|
|
else
|
2013-04-13 12:44:31 +02:00
|
|
|
${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
2013-03-04 11:50:20 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
dist-hook:
|
2013-04-13 12:44:31 +02:00
|
|
|
git log -1 > $(distdir)/latest_commit
|