diff options
author | Guido Guenther <agx@sigxcpu.org> | 2006-10-04 19:36:39 +0200 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2006-10-04 19:36:39 +0200 |
commit | 8bf69562ee4059d188e1d2715ad8168a01039fea (patch) | |
tree | c8703f6dc553252faf97755d805eab84b93dfc62 /debian/rules | |
parent | 45ee9dfaa901bbb182903b1a3d157f2ee10f6720 (diff) | |
download | git-buildpackage-8bf69562ee4059d188e1d2715ad8168a01039fea.tar.gz git-buildpackage-8bf69562ee4059d188e1d2715ad8168a01039fea.tar.bz2 git-buildpackage-8bf69562ee4059d188e1d2715ad8168a01039fea.zip |
add manpages
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index 94643696..6a7ef1e1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,19 @@ #!/usr/bin/make -f -DEB_TAR_SRCDIR := python-dateutil -DEB_AUTO_CLEANUP_RCS := yes - DEB_PYTHON_SYSTEM = pysupport DEB_PYTHON_CLEAN_ARGS = --all # Add here any variable or target overrides you need include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk + +COMMANDS=git-buildpackage git-import-dsc git-import-orig +MANPAGES=$(patsubst %,docs/%.1,$(COMMANDS)) + +docs/%.1: docs/%.sgml + docbook-to-man $< > $@ + +build/git-buildpackage:: $(MANPAGES) + +clean:: + -rm docs/*.1 docs/manpages.* |