1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-05-14 09:59:25 +00:00
libsearpc/Makefile.am
2019-02-27 15:52:18 -07:00

34 lines
635 B
Makefile

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
if FBSD
sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
else
${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
endif
endif
dist-hook:
git log -1 > $(distdir)/latest_commit