File: rules

package info (click to toggle)
cbp2make 147%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,072 kB
  • sloc: cpp: 13,020; makefile: 12; sh: 3
file content (27 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# Set default flags with dpkg-buildflags
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ 

override_dh_auto_build:

build-arch:
	ln -sf cbp2make.cbp.mak.unix Makefile
	$(MAKE) release

#build-indep:
#	ln -sf cbp2make.cbp.mak.unix Makefile
#	$(MAKE) doxygen

override_dh_clean:
	rm -f Makefile
	dh_clean