File: rules

package info (click to toggle)
topshelf 0.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 116 kB
  • ctags: 79
  • sloc: python: 541; makefile: 28
file content (17 lines) | stat: -rwxr-xr-x 528 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
  
include /usr/share/cdbs/1/rules/debhelper.mk

# Define commonly used paths
APPDIR=$(CURDIR)/debian/topshelf

binary-install/topshelf::	
	# Rename topshelf-48.png
	mv $(APPDIR)/usr/share/pixmaps/topshelf-48.png $(APPDIR)/usr/share/pixmaps/topshelf.png
	
	# Fix the path to the icons
	sed -i "s/pixmaps/topshelf/g" $(APPDIR)/usr/lib/gnome-panel/topshelf.py
	sed -i "s/topshelf-48.png/topshelf.png/g" $(APPDIR)/usr/lib/bonobo/servers/topshelf.server
	
	# Call pysupport
	dh_pysupport /usr/lib/bonobo/servers/