protobuf-c/Makefile.am
lahiker42 dd9d5f3c26 use dpkg --print-architecture
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@74 00440858-1255-0410-a3e6-75ea37f81c3a
2008-10-01 01:09:23 +00:00

14 lines
350 B
Makefile

SUBDIRS = src
EXTRA_DIST = scripts pkgwriteinfo.in
# --- 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)