aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: 6a7ef1e1360bb9d6cbcf86f38f93a8a3a0618c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
  
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.*