File: rules

package info (click to toggle)
hotwire 0.721-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,444 kB
  • ctags: 2,331
  • sloc: python: 15,555; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 820 bytes parent folder | download
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
GNOME_DOWNLOAD_URL = http://hotwire-shell.googlecode.com/files/$(GNOME_TARBALL)
TARBALL_EXT := zip

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

binary-install/hotwire::
	convert -crop 22x22+1+1 debian/hotwire/usr/share/icons/hicolor/24x24/apps/hotwire.png debian/hotwire/usr/share/icons/hicolor/22x22/apps/hotwire.png
	sed -i "1 s,python2..,python," debian/hotwire/usr/bin/*
# We need to refactor gnome.mk into gnome-autotools.mk and gnome.mk.
	dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS)
	dh_icons -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS)

include /usr/share/cdbs/1/class/python-distutils.mk