3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
9 # Uncomment this to turn on verbose mode.
14 build-stamp: doc/carnet-upgrade.sgml
18 (cd doc; debiandoc2text -l hr_HR.UTF-8 carnet-upgrade.sgml)
20 # Build one page html docs
21 rm -rf doc/carnet-upgrade.html
22 (cd doc; debiandoc2html -l hr_HR.UTF-8 -1 carnet-upgrade.sgml)
23 mv doc/carnet-upgrade.html/index.html doc/index.html
24 rmdir doc/carnet-upgrade.html
25 mv doc/index.html doc/carnet-upgrade.html
28 (cd doc; debiandoc2pdf -l hr_HR.UTF-8 carnet-upgrade.sgml)
29 rm doc/carnet-upgrade.tpt
38 # Clean up after the build process.
39 rm -rf doc/carnet-upgrade.{txt,html,pdf,tpt}
49 # Install the package.
51 # Build architecture-independent files here.
52 binary-indep: build install
82 # Build architecture-dependent files here.
83 binary-arch: build install
84 # We have nothing to do here.
87 .PHONY: build clean binary-indep binary-arch binary install