X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=b006a118e42fdb48611347f74462f23636b1af34;hb=cfcdd667916619c24963031df933a8a41936659a;hp=7b28d3f5de5e56980460d6dc80bd58e45f3b83eb;hpb=1dca02416eee2128349b76e51e32e003ddfcf199;p=zsh-lovers.git diff --git a/debian/rules b/debian/rules index 7b28d3f..b006a11 100755 --- a/debian/rules +++ b/debian/rules @@ -7,41 +7,37 @@ build-stamp: # html: asciidoc zsh-lovers.1.txt + mv zsh-lovers.1.html zsh-lovers.html + # manpage: a2x -f manpage zsh-lovers.1.txt # pdf: - # notice: you might have to run: ln -s /usr/bin/fop ~/bin/fop.sh - # to work around http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376523 + # notice: current version of fop (1:0.93.dfsg.1-2) is horrible broken + # download http://snapshot.debian.net/archive/2005/10/15/debian/pool/contrib/f/fop/fop_0.20.5-8_all.deb + # to work around this bug a2x -f pdf zsh-lovers.1.txt + mv zsh-lovers.1.pdf zsh-lovers.pdf touch build-stamp clean: dh_testdir dh_testroot - - #if [ -d $(CURDIR)/debian/saved ]; then \ - # mv $(CURDIR)/debian/saved/* $(CURDIR); \ - # rmdir $(CURDIR)/debian/saved ; \ - #fi + rm -f zsh-lovers.1 zsh-lovers.1.fo zsh-lovers.1.xml zsh-lovers.html zsh-lovers.pdf rm -f build-stamp dh_clean - # rm -rf $(CURDIR)/debian/zsh-lovers/ install: build dh_testdir dh_testroot dh_clean -k - dh_installdirs usr/share/doc/zsh-lovers/zsh_people usr/share/man/man1 usr/share/vim/syntax + dh_installdirs usr/share/doc/zsh-lovers/zsh_people usr/share/man/man1 - cp -a zsh_people debian/zsh-lovers/usr/share/doc/zsh-lovers/ - install -m 644 zsh.vim debian/zsh-lovers/usr/share/vim/syntax/zsh.vim - -binary-indep: build install +binary-arch: build install # We have nothing to do -binary-arch: build install +binary-indep: build install dh_testdir dh_testroot dh_installchangelogs @@ -49,6 +45,8 @@ binary-arch: build install dh_installman zsh-lovers.1 dh_link dh_compress + mkdir -p debian/zsh-lovers/usr/share/lintian/overrides/ + cp -av debian/overrides debian/zsh-lovers/usr/share/lintian/overrides/zsh-lovers dh_fixperms dh_installdeb dh_shlibdeps