[Pkg-voip-commits] r6647 - /tools/builder/Makefile
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Fri Jan 9 19:24:43 UTC 2009
Author: tzafrir-guest
Date: Fri Jan 9 19:24:43 2009
New Revision: 6647
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6647
Log:
builder Makefile: Add an explicit SUFFIX parameter for a different
source file
pbuilder can't figure the architecture of log files with
--pkgname-logfile and has to be told so explicitly.
Modified:
tools/builder/Makefile
Modified: tools/builder/Makefile
URL: http://svn.debian.org/wsvn/pkg-voip/tools/builder/Makefile?rev=6647&op=diff
==============================================================================
--- tools/builder/Makefile (original)
+++ tools/builder/Makefile Fri Jan 9 19:24:43 2009
@@ -31,14 +31,15 @@
export ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
export DISTRO = lenny
+#export SUFFIX = -experimental
export LOCAL_DISTRO = unstable
-export LOCAL_REPO = $(PWD)/repo-$(ARCH)-$(DISTRO)
+export LOCAL_REPO = $(PWD)/repo-$(ARCH)-$(DISTRO)$(SUFFIX)
export TARBALLS_DIR = $(PWD)/tarballs
export BUILD_AREA = build-area
-export SOURCES_SPEC = sources
-PBUILDERRC = pbuilderrc-$(ARCH)-$(DISTRO)
+export SOURCES_SPEC = sources$(SUFFIX)
+PBUILDERRC = pbuilderrc-$(ARCH)-$(DISTRO)$(SUFFIX)
MIRROR_HTTP = http://ftp.de.debian.org/debian
PBUILDER_CMD = sudo pbuilder
@@ -123,6 +124,7 @@
$(LOCAL_REPO)/stamp: $(LOCAL_REPO)/conf/updates $(LOCAL_REPO)/conf/distributions
# TODO: this target should provide an up-to-date repository.
# Currently it only guarantees a valid (possibly empty) one
+ mkdir -p $(LOCAL_REPO)/logs
reprepro -b $(LOCAL_REPO) export
touch $@
@@ -163,6 +165,7 @@
echo "OTHERMIRROR=\"$(LOCAL_APT_SRC)\"" >>$@
echo DEBBUILDOPTS=\"-sa -uc -us\" >>$@
echo HOOKDIR=\"$(PWD)/hooks\" >>$@
+ echo PKGNAME_LOGFILE_EXTENTION=_$(ARCH).build >>$@
list:
@reprepro -b $(LOCAL_REPO) listfilter $(LOCAL_DISTRO) 'Package'
More information about the Pkg-voip-commits
mailing list