File: rules

package info (click to toggle)
ocrad 0.28-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 812 kB
  • sloc: cpp: 9,723; sh: 386; makefile: 154
file content (20 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_CPPFLAGS_MAINT_APPEND = -fPIC
export DEB_CXXFLAGS_MAINT_APPEND = -fPIC

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(shell dpkg-buildflags --export=cmdline)

override_dh_auto_build:
	dh_auto_build -- all ocradcheck

version = $(shell dpkg-parsechangelog -SVersion)

.PHONY: get-orig-source

get-orig-source:
	debian/get-orig-source $(version)