File: rules

package info (click to toggle)
rtklib 2.4.3.b34%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 114,300 kB
  • sloc: cpp: 57,065; ansic: 53,007; makefile: 994; fortran: 987; javascript: 309; sh: 25
file content (19 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DH_OPTIONS
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	set -e; cd $(CURDIR)/src; qmake; make;
	set -e; cd $(CURDIR)/app/qtapp; qmake; make;
	dh_auto_build -Dlib/iers/gcc
	dh_auto_build -Dapp/consapp
#	dh_auto_build -Dutil/rnx2rtcm
	dh_auto_build

override_dh_install-arch:
	dh_install
	patchelf --remove-rpath $(CURDIR)/debian/rtklib-qt/usr/bin/*