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
17 # Build the documentation
18 (cd doc; debiandoc2text -l hr_HR.UTF-8 carnet-upgrade.sgml)
19 (cd doc; debiandoc2html -l hr_HR.UTF-8 -1 carnet-upgrade.sgml)
20 mv doc/carnet-upgrade.html/index.html doc/index.html
21 rmdir doc/carnet-upgrade.html
22 mv doc/index.html doc/carnet-upgrade.html
23 (cd doc; debiandoc2pdf -l hr_HR.UTF-8 carnet-upgrade.sgml)
24 rm doc/carnet-upgrade.tpt
33 # Clean up after the build process.
34 rm -rf doc/carnet-upgrade.{txt,html,pdf,tpt}
44 # Install the package.
46 # Build architecture-independent files here.
47 binary-indep: build install
77 # Build architecture-dependent files here.
78 binary-arch: build install
79 # We have nothing to do here.
82 .PHONY: build clean binary-indep binary-arch binary install