From 41e4a673b3ceb148413af057871af21ed13a457a Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 17 Mar 2015 05:48:35 +0100 Subject: updated Debian package and fixed ./distribute (for Debian packages) --- distribute | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'distribute') diff --git a/distribute b/distribute index c4406f3..61787fd 100755 --- a/distribute +++ b/distribute @@ -2,6 +2,7 @@ # Overwrite, if building out-of-tree. SRCDIR=. +ABS_SRCDIR=$(abspath $(SRCDIR)) SCITECO_VERSION = 0.6 SCITECO_SRC = sciteco-$(SCITECO_VERSION).tar.gz @@ -14,13 +15,13 @@ all : $(SCITECO_SRC) debian mingw-binary # $(UBUNTU) sets the Ubuntu distribution and fixes the package's # version debian-prepare: debian-temp/ -debian-temp/ : bundle +debian-temp/ : $(SCITECO_SRC) mkdir debian-temp/ (cd debian-temp/; \ cp ../$(SCITECO_SRC) \ sciteco_$(SCITECO_VERSION).orig.tar.gz; \ tar xzf sciteco_$(SCITECO_VERSION).orig.tar.gz; \ - cp -r ../debian sciteco-$(SCITECO_VERSION)/; \ + cp -r $(ABS_SRCDIR)/debian sciteco-$(SCITECO_VERSION)/; \ ) ifneq ($(UBUNTU),) sciteco -e "@EB|debian-temp/sciteco-$(SCITECO_VERSION)/debian/changelog| \ -- cgit v1.2.3