File: rules

package info (click to toggle)
c-munipack 2.1.39-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 55,888 kB
  • sloc: ansic: 200,762; cpp: 106,129; lex: 9,035; yacc: 4,916; sh: 4,074; fortran: 2,613; xml: 2,105; python: 1,182; makefile: 546; perl: 104
file content (23 lines) | stat: -rwxr-xr-x 605 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
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic

%:
	dh $@


override_dh_auto_configure:
	dh_auto_configure -- \
	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON

override_dh_install:
	#find
	rm debian/tmp/usr/share/C-Munipack-2.0/COPYING
	rm debian/tmp/usr/share/C-Munipack-2.0/LICENSE.CDDL
	rm debian/tmp/usr/share/C-Munipack-2.0/LICENSE.GPL2
	rm debian/tmp/usr/share/C-Munipack-2.0/LICENSE.LGPL
	rmdir debian/tmp/usr/share/C-Munipack-2.0/manual/en/html/_images/math/
	dh_install