File: rules

package info (click to toggle)
ea-utils 1.1.2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 836 kB
  • ctags: 1,256
  • sloc: ansic: 11,459; cpp: 3,752; perl: 426; makefile: 74; sh: 42
file content (17 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# DH_VERBOSE := 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) -I/usr/include/google
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -I/usr/include/google

DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')

%:
	dh $@

override_dh_auto_install:
	dh_auto_install -- PREFIX='$${DESTDIR}/usr'
	mv debian/$(DEBPKGNAME)/usr/bin/alc debian/$(DEBPKGNAME)/usr/bin/ea-alc