[pluma] 08/18: debian/rules: Update for new upstream released. Remove dfsg suffix.
Martin Wimpress
flexiondotorg-guest at moszumanska.debian.org
Mon Aug 10 12:29:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
flexiondotorg-guest pushed a commit to branch debian/experimental
in repository pluma.
commit 00d313d52d2dd12888b96579c7c4a741273a79d2
Author: Martin Wimpress <code at flexion.org>
Date: Tue Aug 4 09:48:59 2015 +0100
debian/rules: Update for new upstream released. Remove dfsg suffix.
---
debian/rules | 38 +++++---------------------------------
1 file changed, 5 insertions(+), 33 deletions(-)
diff --git a/debian/rules b/debian/rules
index 97d69df..8e6d703 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,9 @@
#!/usr/bin/make -f
-PKD = $(word 1,$(abspath $(dir $(MAKEFILE_LIST))))
-PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
-UVER = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
-DTYPE = +dfsg1
-VER ?= $(subst $(DTYPE),,$(UVER))
-
DHFLAGS=--parallel
%:
- dh $@ $(DHFLAGS) --with python2
+ dh $@ $(DHFLAGS)
override_dh_install:
rm -f debian/tmp/usr/share/MateConf/gsettings/*.convert
@@ -25,7 +19,8 @@ override_dh_auto_configure:
dh_auto_configure $(DHFLAGS) -- \
--disable-silent-rules \
--libexecdir=/usr/lib/ \
- --enable-python \
+ --disable-python \
+ --enable-gtk-doc \
--with-gtk=2.0
override_dh_auto_test:
@@ -34,28 +29,5 @@ override_dh_auto_test:
override_dh_strip:
dh_strip --dbg-package=pluma-dbg
-get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz $(info I: $(PKG)_$(VER)$(DTYPE))
- @
-
-$(PKG)_$(VER)$(DTYPE).orig.tar.xz:
- @echo "# Downloading..."
- uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD)
- $(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting..))
- @echo "# Extracting..."
- mkdir $(PKG)-$(VER) \
- && tar -xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER) --strip-components 1 \
- || $(RM) -r $(PKG)-$(VER)
- @echo "# Cleaning-up..."
- cd $(PKG)-$(VER) \
- && $(RM) -r -v \
- help/ \
- win32/ \
- pluma/osx/ \
- osx/ \
- pluma/smclient/eggsmclient-win32.c \
- pluma/smclient/eggsmclient-osx.c
- $(RM) -v $(PKG)_$(VER).orig.tar.*
- @echo "# Packing..."
- find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
- | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
- && $(RM) -r "$(PKG)-$(VER)"
+get-orig-source:
+ uscan --noconf --force-download --rename --download-current-version --destdir=..
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/pluma.git
More information about the pkg-mate-commits
mailing list