File: rules

package info (click to toggle)
leafpad 0.7.9-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,480 kB
  • ctags: 272
  • sloc: sh: 3,548; ansic: 3,464; makefile: 47; sed: 16
file content (16 lines) | stat: -rwxr-xr-x 637 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
# Leafpad isn't a gnome app, but we need dh_desktop
include /usr/share/cdbs/1/class/gnome.mk

# Transfer the filename of manpage to cdbs.
DEB_INSTALL_MANPAGES_leafpad := debian/leafpad.1

# install the debian menu icon and lintian override file
install/leafpad::
	install -m 0644 debian/leafpad.xpm debian/leafpad/usr/share/pixmaps
	install -m 0644 -D debian/leafpad.lintian-overrides debian/leafpad/usr/share/lintian/overrides/leafpad