[m-tx] 03/08: update rules file for new release
This is an automated email from the git hooks/post-receive script.
preining pushed a commit to branch master
in repository m-tx.
commit 582ab51c387fabf22519f672c4430c9a41c2e695
Author: Norbert Preining <preining@debian.org>
Date: Thu Dec 17 18:18:28 2015 +0900
update rules file for new release
---
debian/rules | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index a23442c..846a488 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
package = m-tx
-version = 0.60d
+version = 0.61
r = $(CURDIR)/debian/$(package)
texmf = $(r)/usr/share/texmf
@@ -17,20 +17,21 @@ override_dh_auto_configure:
override_dh_auto_build:
$(MAKE) -Cmtx-$(version)
# documentation
- cp -a doc/generic/m-tx/mtx060 bindoc
+ cp -a doc/generic/m-tx bindoc
ln -s ../tex/generic/m-tx/mtx.tex bindoc/mtx.tex
- cd bindoc && make pdftarget && make config && make all
+ ln -s ../mtx-0.${version}/prepmx bindoc/
+ cd bindoc && PATH=.:$$PATH texlua buildmtxdoc.lua
+ cd bindoc && PATH=.:$$PATH texlua buildmtxdoc.lua kanons
+ cd bindoc && PATH=.:$$PATH texlua buildmtxdoc.lua halleluja
override_dh_auto_install:
$(MAKE) -Cmtx-$(version) DESTDIR=$(r) install
mkdir -p $(texmf)
cp -a doc scripts tex $(texmf)
# install updated documentation
- cp bindoc/mtxdoc.pdf $(texmf)/doc/generic/m-tx/mtx060.pdf
+ cp bindoc/mtxdoc.pdf $(texmf)/doc/generic/m-tx/
# remove man pages from installed doc directory
rm $(texmf)/doc/generic/m-tx/*.1
- mkdir -p $(r)/usr/bin
- ln -s ../share/texmf/scripts/m-tx/m-tx.lua $(r)/usr/bin/m-tx
dh_installtex
override_dh_clean:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/m-tx.git
Reply to: