File: rules

package info (click to toggle)
sakura 3.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 556 kB
  • ctags: 463
  • sloc: ansic: 2,536; makefile: 12; sh: 11
file content (18 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

%:
	dh $@

override_dh_auto_configure:
	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=1

override_dh_install:
	dh_install
	rm -f debian/sakura/usr/share/doc/sakura/INSTALL