File: rules

package info (click to toggle)
mgen 5.02%2Bdfsg2-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 4,472 kB
  • ctags: 4,804
  • sloc: cpp: 46,478; sh: 48; python: 20; makefile: 17
file content (28 lines) | stat: -rwxr-xr-x 558 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
25
26
27
28
#!/usr/bin/make -f

#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

ifeq ($(shell uname -s),GNU/kFreeBSD)
    MAKEFILE:=Makefile.freebsd
else
    MAKEFILE:=Makefile.linux
endif

override_dh_auto_build:
	cd mgen/makefiles && make -f $(MAKEFILE)

override_dh_auto_clean:
	cd mgen/makefiles && make -f $(MAKEFILE) clean

override_dh_installchangelogs:
	dh_installchangelogs mgen/VERSION.TXT

%:
	dh $@ 

get-orig-source:
	uscan  --force-download --repack --verbose