You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.2 KiB
31 lines
1.2 KiB
#!/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/temp
|
|
mv debian/fusion-icon-trinity/usr/lib debian/fusion-icon-trinity/temp
|
|
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
|
|
###
|
|
# Must be done after invoking dh_pysupport, otherwise python scripts will
|
|
# end up in /usr/share/pyshare instead of dist-packages
|
|
mkdir -p debian/fusion-icon-trinity/usr
|
|
mv debian/fusion-icon-trinity/temp/lib debian/fusion-icon-trinity/usr
|
|
rm -rf debian/fusion-icon-trinity/temp
|
|
###
|
|
dh_icons
|