File: rules

package info (click to toggle)
matchbox-panel 0.9.3%2Bgit20100816-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 976 kB
  • sloc: ansic: 6,332; makefile: 164; sh: 11
file content (25 lines) | stat: -rwxr-xr-x 781 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow

%:
	dh $@

override_dh_auto_configure:
	[ -f po/en.po ] || mv po/en_GB.po po/en.po
	[ -f po/es.po ] || mv po/es_ES.po po/es.po
	[ -f po/fi.po ] || mv po/fi_FI.po po/fi.po
	[ -f po/fr.po ] || mv po/fr_FR.po po/fr.po
	dh_auto_configure -- --enable-dnotify --enable-startup-notification --enable-nls --enable-acpi-linux

override_dh_clean:
	[ -f po/en_GB.po ] || mv po/en.po po/en_GB.po 
	[ -f po/es_ES.po ] || mv po/es.po po/es_ES.po 
	[ -f po/fi_FI.po ] || mv po/fi.po po/fi_FI.po 
	[ -f po/fr_FR.po ] || mv po/fr.po po/fr_FR.po 
	dh_clean

override_dh_install:
	-rm debian/matchbox-panel/usr/bin/mb-applet-xterm-wrapper.sh
	-rm debian/matchbox-panel/usr/share/applications/mb-launcher-term.desktop
	dh_install