- # Build the documentation
- (cd doc; debiandoc2text -l hr_HR.UTF-8 carnet-upgrade.sgml)
- (cd doc; debiandoc2html -l hr_HR.UTF-8 -1 carnet-upgrade.sgml)
+ # Update package version in documentation
+ sed -e 's/%PKG_VERSION%/$(PKG_VERSION)/g' doc/carnet-upgrade-src.sgml \
+ > doc/carnet-upgrade.sgml
+
+ # Build txt docs
+ (cd doc; $(perlenv) debiandoc2text -l hr_HR.UTF-8 carnet-upgrade.sgml)
+
+ # Build one page html docs
+ rm -rf doc/carnet-upgrade.html
+ (cd doc; $(perlenv) debiandoc2html -l hr_HR.UTF-8 \
+ -1 carnet-upgrade.sgml)