File: rules

package info (click to toggle)
cairo-clock 0.3.4-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 5,152 kB
  • sloc: sh: 9,164; ansic: 1,517; makefile: 355
file content (22 lines) | stat: -rwxr-xr-x 631 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_CLEAN_EXCLUDE = autom4te.cache glade/cairo-clock.glade.bak src/cairo-clock.c~

update-config::
	[ -e pixmaps/cairo-clock.xpm ] || \
	convert -resize 32x32 pixmaps/cairo-clock.png pixmaps/cairo-clock.xpm

reverse-config::
	rm -f pixmaps/cairo-clock.xpm

install/cairo-clock::
	gunzip debian/cairo-clock/usr/share/man/man1/cairo-clock.1.gz
	gzip -9 debian/cairo-clock/usr/share/man/man1/cairo-clock.1

clean::
	rm -f po/*.gmo