File: rules

package info (click to toggle)
battery-stats 0.3.6-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 504 kB
  • sloc: sh: 1,187; ansic: 373; makefile: 26
file content (16 lines) | stat: -rwxr-xr-x 593 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

build/battery-stats::
	mogrify -format xpm -geometry 32x32 $(CURDIR)/pixmaps/battery-stats.png

clean::
	rm -f $(CURDIR)/pixmaps/battery-stats.xpm

install/battery-stats::
	cp pixmaps/battery-stats.xpm $(CURDIR)/debian/battery-stats/usr/share/battery-stats/pixmaps/battery-stats.xpm
	mkdir -p $(CURDIR)/debian/battery-stats/usr/share/applications
	install -m 644 $(CURDIR)/debian/battery-stats.desktop \
		$(CURDIR)/debian/battery-stats/usr/share/applications/battery-stats.desktop