File: rules

package info (click to toggle)
sash 3.7-12
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 556 kB
  • sloc: ansic: 12,378; makefile: 97; sh: 27
file content (16 lines) | stat: -rwxr-xr-x 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/make -f

pkgdir := `pwd`/debian/sash

%:
	dh $@

override_dh_auto_build:
	$(MAKE) CFLAGS="`dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS`" LDFLAGS="-static `dpkg-buildflags --get LDFLAGS`"

override_dh_auto_install:
	make install BINDIR=$(pkgdir)/bin MANDIR=$(pkgdir)/usr/share/man/man1

override_dh_install:
	dh_install
	install -m 0644 debian/lintian-overrides $(pkgdir)/usr/share/lintian/overrides/sash