Commit 05dbb370 authored by W. Michael Petullo's avatar W. Michael Petullo
Browse files

Reorder build and generate libdmapsharing-API.pc at build time

See also https://bugzilla.gnome.org/show_bug.cgi?id=640058

.
Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent f4cf887a
SUBDIRS = docs libdmapsharing tests vala
SUBDIRS = libdmapsharing vala tests docs
DIST_SUBDIRS = $(SUBDIRS) m4 media
### all of the standard pc files we need to generate
# pcfiles = libdmapsharing-@LIBDMAPSHARING_MAJORMINOR@.pc
pcfiles = libdmapsharing-@API_VERSION@.pc
all-local: $(pcfiles)
### how to generate pc files
# %-@LIBDMAPSHARING_MAJORMINOR@.pc: %.pc
%-@API_VERSION@.pc: %.pc
cp $< $@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pcfiles)
EXTRA_DIST = \
autogen.sh \
libdmapsharing.pc.in \
EXTRA_DIST = \
autogen.sh \
README-Memory
CLEANFILES = $(pcfiles)
......@@ -376,7 +376,7 @@ AC_SUBST(DMAP_HAVE_UNALIGNED_ACCESS_DEFINE)
AC_OUTPUT([
Makefile
docs/Makefile
libdmapsharing.pc
libdmapsharing-${API_VERSION}.pc
libdmapsharing/Makefile
libdmapsharing/dmap-config.h
tests/Makefile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment