2009-08-04 13:45:06 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
2009-08-16 01:06:50 +02:00
|
|
|
UPSTREAMTAG=syncevolution-0-9
|
|
|
|
|
|
|
|
SOURCEPKG=$(shell dpkg-parsechangelog | sed -n 's/^Source: \(.*\)/\1/p')
|
|
|
|
UPSTREAM=$(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-[^-]*/\1/p')
|
|
|
|
ORIG=${SOURCEPKG}_${UPSTREAM}.orig.tar.gz
|
2009-08-04 13:45:06 +02:00
|
|
|
|
|
|
|
%:
|
2009-08-15 20:29:21 +02:00
|
|
|
dh $@
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
2009-08-17 05:12:28 +02:00
|
|
|
sh autogen.sh
|
2009-08-21 03:52:18 +02:00
|
|
|
./configure --with-synthesis-src=none --prefix=/usr --sysconfdir=/etc \
|
|
|
|
--libexecdir=/usr/lib/syncevolution
|
2009-08-16 01:06:50 +02:00
|
|
|
|
|
|
|
get-orig-source:
|
|
|
|
echo ${UPSTREAM}
|
2009-08-21 03:52:18 +02:00
|
|
|
git archive --format=tar ${UPSTREAMTAG} | gzip -9 > ../${ORIG}
|