File: rules

package info (click to toggle)
nihstro 0.0~git20211107.e924e21-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 680 kB
  • sloc: ansic: 2,920; cpp: 2,873; makefile: 98; asm: 12
file content (24 lines) | stat: -rwxr-xr-x 575 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

# See FEATURE AREAS in dpkg-buildflags(1).
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Package maintainers to append CFLAGS.
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
# Package maintainers to append LDFLAGS.
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

CMAKE_BUILD_OPTIONS := \
    -DCMAKE_INSTALL_PREFIX=/usr

%:
	dh $@


override_dh_auto_configure:
	dh_auto_configure -- $(CMAKE_BUILD_OPTIONS)

override_dh_auto_install:
	mkdir -p debian/tmp/usr/include
	cp -r include/* debian/tmp/usr/include
	dh_auto_install --destdir=debian/tmp