X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Frules;h=9316135b3e952e6920611e860bbbecf36ec19392;hb=aacd46ebe545493c14e48020435c9c3d4a06bbfe;hp=19795a66b837589d46d6d99a026f8b92a19184de;hpb=44ef4c3d7f1d965b7cb0ec3dd1809f9d7f3a28c5;p=carnet-upgrade.git diff --git a/debian/rules b/debian/rules index 19795a6..9316135 100755 --- a/debian/rules +++ b/debian/rules @@ -14,9 +14,11 @@ build: build-stamp build-stamp: dh_testdir - # Add here commands to compile the package. - #$(MAKE) - #docbook-to-man debian/carnet-upgrade.sgml > carnet-upgrade.1 + # Build the package. + (cd doc; debiandoc2text -l hr_HR.UTF-8 carnet-upgrade.sgml) + (cd doc; debiandoc2html -l hr_HR.UTF-8 carnet-upgrade.sgml) + (cd doc; debiandoc2pdf -l hr_HR.UTF-8 carnet-upgrade.sgml) + rm doc/carnet-upgrade.tpt touch $@ @@ -25,8 +27,8 @@ clean: dh_testroot rm -f build-stamp - # Add here commands to clean up after the build process. - #$(MAKE) clean + # Clean up after the build process. + rm -rf doc/carnet-upgrade.{txt,html,pdf,tpt} dh_clean @@ -36,9 +38,7 @@ install: build dh_clean -k dh_installdirs - # Add here commands to install the package into debian/carnet-upgrade. - #$(MAKE) DESTDIR=$(CURDIR)/debian/carnet-upgrade install - + # Install the package. # Build architecture-independent files here. binary-indep: build install