[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[asymptote] 01/08: switch to dh 9



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository asymptote.

commit d6982f5007d2682126d122e4428e8ba4c8270e07
Author: Norbert Preining <norbert@preining.info>
Date:   Mon Jun 22 10:23:47 2015 +0900

    switch to dh 9
---
 debian/control               |  1 -
 debian/rules                 | 32 +++++++++++++-------------------
 debian/{rules => rules.cdbs} |  0
 3 files changed, 13 insertions(+), 20 deletions(-)

diff --git a/debian/control b/debian/control
index f630919..ab1677e 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,6 @@ Section: tex
 Priority: optional
 Build-Depends: autotools-dev,
                bison,
-               cdbs,
                debhelper (>= 8),
                flex,
                freeglut3-dev,
diff --git a/debian/rules b/debian/rules
index 798f622..6d9d738 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,38 +2,32 @@
 
 PKG=asymptote
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
+%:
+	dh $@
 
-DEB_MAKE_INSTALL_TARGET =
+override_dh_auto_configure:
+	./configure --enable-gc=system		\
+		--with-latex=/usr/share/texmf/tex/latex	\
+		--with-context=/usr/share/texmf/tex/context/third
 
-DEB_CONFIGURE_EXTRA_FLAGS = --enable-gc=system --with-latex=/usr/share/texmf/tex/latex --with-context=/usr/share/texmf/tex/context/third
 
-DEB_COMPRESS_EXCLUDE = .pdf
-
-common-build-arch::
+override_dh_auto_build:
 	make asy man
-
-common-install-arch::
-	make install-asy DESTDIR=$(CURDIR)/debian/tmp
-	dh_installtex -pasymptote
-
-# this needs to be run before any of the binary-install/asymptote-doc stuff
-# from cdbs
-common-install-prehook-indep::
 	make all html
 	# fix location of images in info document
 	cat doc/png/asymptote.info | sed -e 's!image src="\([^"]*\)"!image src="/usr/share/doc/asymptote-doc/html/\1"!g' > doc/png/asymptote.info.fixed
 	mv doc/png/asymptote.info.fixed doc/png/asymptote.info
 
-clean::
+override_dh_auto_install:
+	make install-asy DESTDIR=$(CURDIR)/debian/tmp
+	dh_installtex -pasymptote
+
+override_dh_clean:
+	dh_clean
 	rm --force doc/latexusage.pdf doc/latexusage.dvi doc/TeXShopAndAsymptote.dvi doc/CAD.dvi
 	rm --force doc/*.aux doc/*.cp doc/*.cps doc/*.idx doc/*.ins doc/*.log doc/*.toc doc/asymptote.fn doc/asymptote.ky doc/asymptote.pg doc/asymptote.tp doc/asymptote.vr asy.list
 	rm --force doc/asyRefCard.pdf doc/asyRefCard.dvi
 
-binary-predeb/asymptote::
-	chmod +x debian/$(cdbs_curpkg)/usr/share/asymptote/asy-kate.sh # script-not-executable
-
 #
 # download current release based on the changelog entry from sf
 # and remove the generated files similarily to the clean target
diff --git a/debian/rules b/debian/rules.cdbs
similarity index 100%
copy from debian/rules
copy to debian/rules.cdbs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/asymptote.git


Reply to: