Fixes for make dist.
This commit is contained in:
parent
fba715aebb
commit
4d3be28d19
@ -1,5 +1,8 @@
|
|||||||
SUBDIRS = src tests examples man $(CXXMPH)
|
SUBDIRS = src tests examples man $(CXXMPH)
|
||||||
EXTRA_DIST = cmph.spec configure.ac cmph.pc.in LGPL-2 MPL-1.1
|
EXTRA_DIST = cmph.spec configure.ac cmph.pc.in cxxmph.pc.in LGPL-2 MPL-1.1
|
||||||
|
pkgconfig_DATA = cmph.pc
|
||||||
|
if USE_CXXMPH
|
||||||
|
pkgconfig_DATA += cxxmph.pc
|
||||||
|
endif
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = cmph.pc
|
|
||||||
|
@ -49,6 +49,7 @@ if test x$cxxmph = xtrue; then
|
|||||||
fi
|
fi
|
||||||
AC_SUBST([CXXMPH], "cxxmph")
|
AC_SUBST([CXXMPH], "cxxmph")
|
||||||
fi
|
fi
|
||||||
|
AM_CONDITIONAL([USE_CXXMPH], [test "$cxxmph" = yes])
|
||||||
|
|
||||||
# Unit tests based on the check library. Disabled by default.
|
# Unit tests based on the check library. Disabled by default.
|
||||||
# We do not use pkg-config because it is inconvenient for all developers to
|
# We do not use pkg-config because it is inconvenient for all developers to
|
||||||
@ -68,5 +69,5 @@ AC_SUBST(CHECK_LIBS)
|
|||||||
AC_SUBST(CHECK_CFLAGS)
|
AC_SUBST(CHECK_CFLAGS)
|
||||||
|
|
||||||
AC_CHECK_SPOON
|
AC_CHECK_SPOON
|
||||||
AC_CONFIG_FILES([Makefile src/Makefile cxxmph/Makefile tests/Makefile examples/Makefile man/Makefile cmph.pc])
|
AC_CONFIG_FILES([Makefile src/Makefile cxxmph/Makefile tests/Makefile examples/Makefile man/Makefile cmph.pc cxxmph.pc])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
Loading…
Reference in New Issue
Block a user