1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-05-12 17:14:20 +00:00
libsearpc/Makefile.am

30 lines
573 B
Makefile

AM_CPPFLAGS = -I$(top_srcdir)/lib
ACLOCAL_AMFLAGS = -I m4
GNU_STANDARD_FILES = README.markdown COPYING AUTHORS ChangeLog NEWS
pcfiles = libsearpc.pc
pkgconfig_DATA = $(pcfiles)
pkgconfigdir = $(libdir)/pkgconfig
EXTRA_DIST = $(GNU_STANDARD_FILES)
EXTRA_DIST += libsearpc.pc.in
if COMPILE_DEMO
MAKE_DEMO = demo
endif
SUBDIRS = json-glib lib pysearpc ${MAKE_DEMO} tests
install-data-local:
if MACOS
${SED} -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
else
${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
endif
dist-hook:
git log -1 > $(distdir)/latest_commit