File: rules

package info (click to toggle)
mgen 5.02.b%2Bdfsg1-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 5,400 kB
  • ctags: 6,707
  • sloc: cpp: 63,270; python: 1,079; ansic: 88; sh: 41; makefile: 19
file content (30 lines) | stat: -rwxr-xr-x 563 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
28
29
30
#!/usr/bin/make -f

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 makefiles && make -f $(MAKEFILE)

override_dh_auto_clean:
	cd makefiles && make -f $(MAKEFILE) clean
	rm -rf build

# do not build the python module
override_dh_auto_install:

override_dh_installchangelogs:
	dh_installchangelogs VERSION.TXT

%:
	dh $@ 

get-orig-source:
	uscan --no-conf --verbose --download-current-version --destdir ../