[caja] 04/08: debian/rules: Add --enable-gtk-doc. Remove dfsg suffix.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Tue Jul 28 16:49:56 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 caja.

commit 2a10c1d71960eee02a05a6d31bb79e736411132a
Author: Martin Wimpress <code at flexion.org>
Date:   Tue Jul 28 17:27:22 2015 +0100

    debian/rules: Add --enable-gtk-doc. Remove dfsg suffix.
---
 debian/rules | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7a05a71..8deeb70 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,5 @@
 #!/usr/bin/make -f
 
-PKD   = $(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 =
-VER  ?= $(subst $(DTYPE),,$(UVER))
-
 DHFLAGS=--parallel
 
 %:
@@ -29,6 +23,7 @@ override_dh_auto_configure:
 		--disable-static \
 		--localstatedir=/var \
 		--enable-introspection \
+		--enable-gtk-doc \
 		--with-gtk=2.0
 
 override_dh_auto_test:
@@ -38,9 +33,5 @@ override_dh_strip:
 	dh_strip -pcaja --dbg-package=caja-dbg
 	dh_strip -plibcaja-extension1 --dbg-package=libcaja-extension1-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=.. --check-dirname-level=0 --force-download --download-version $(VER) $(PKD)
+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/caja.git



More information about the pkg-mate-commits mailing list