protobuf-c/Makefile.am
lahiker42@gmail.com b0d7d4a023 Add version macros and library globals.
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@324 00440858-1255-0410-a3e6-75ea37f81c3a
2011-11-02 03:45:35 +00:00

20 lines
493 B
Makefile

SUBDIRS = src
EXTRA_DIST = scripts pkgwriteinfo.in CMakeLists.txt LICENSE
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libprotobuf-c.pc
dist-hook:
scripts/assert-version-numbers-match
# --- packages ---
DEBARCH = `dpkg --print-architecture`
deb:
test -r protobuf-c-@VERSION@.tar.gz || $(MAKE) dist
$(srcdir)/scripts/pkgwrite --format=debian \
--tarball=protobuf-c-@VERSION@.tar.gz \
--output=protobuf-c-packages \
--pkgwriteinfo-file=pkgwriteinfo \
--arch=$(DEBARCH)