1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
AM_CPPFLAGS = -I$(top_srcdir)/lib
ACLOCAL_AMFLAGS = -I m4
GNU_STANDARD_FILES = README.markdown AUTHORS ChangeLog NEWS
pcfiles = libsearpc.pc
pkgconfig_DATA = $(pcfiles)
pkgconfigdir = $(libdir)/pkgconfig
EXTRA_DIST = $(GNU_STANDARD_FILES) LICENSE.txt
EXTRA_DIST += libsearpc.pc.in
if COMPILE_DEMO
MAKE_DEMO = demo
endif
SUBDIRS = 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
|