File: rules

package info (click to toggle)
specto 0.2.2-3.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,012 kB
  • ctags: 633
  • sloc: python: 4,565; makefile: 14; sh: 10
file content (28 lines) | stat: -rwxr-xr-x 814 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
# Sample debian/rules that uses cdbs.  Originaly written by Robert Millan.
# This file is public domain.

# Add here any variable or target overrides you need


include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

# select the python system you want to use : pysupport or pycentral
# (this MUST be done before including the class)
DEB_PYTHON_SYSTEM = pycentral
include /usr/share/cdbs/1/class/python-distutils.mk

DEB_INSTALL_MANPAGES_specto = specto.1

build/specto::
	docbook2x-man debian/man/specto.docbook

install/specto::
	mv debian/specto/usr/share/doc/specto/ChangeLog debian/specto/usr/share/doc/specto/changelog
	rm debian/specto/usr/share/doc/specto/INSTALL
	rm debian/specto/usr/share/doc/specto/COPYING
	dh_icons

clean::
	rm -f specto.1