mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2025-01-14 01:07:57 +08:00
b0d7d4a023
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@324 00440858-1255-0410-a3e6-75ea37f81c3a
20 lines
493 B
Makefile
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)
|