summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/fusion-icon/debian/rules
blob: 88040a5636ec55455c87fb09e8099b8d76432d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

DEB_PYTHON_SYSTEM=pysupport

include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/python-distutils.mk
include debian/python-distutils-custom.mk
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk

DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
                               && echo xz || echo bzip2)

binary-install/fusion-icon-trinity::
	mkdir -p debian/fusion-icon-trinity/usr/local/lib
	cp -Rp debian/fusion-icon-trinity/usr/local/* debian/fusion-icon-trinity/usr/
	rm -rf debian/fusion-icon-trinity/usr/local
	mkdir -p debian/fusion-icon-trinity/opt/trinity
	cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/
	rm -rf debian/fusion-icon-trinity/usr
	dh_pysupport -pfusion-icon-trinity
	dh_icons