File: rules

package info (click to toggle)
gauche-c-wrapper 0.6.1-8
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,544 kB
  • ctags: 4,499
  • sloc: ansic: 17,822; sh: 13,993; asm: 6,456; lisp: 5,434; yacc: 2,095; makefile: 522; exp: 194; cpp: 157; objc: 144; perl: 2
file content (24 lines) | stat: -rwxr-xr-x 612 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
#!/usr/bin/make -f
# -*- makefile-gmake -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_OPTIONS
export GZIP=-9 -n

%:
	dh $@ --with quilt

override_dh_auto_clean:
	dh_auto_clean
	rm -f configure config.sub config.guess

override_dh_auto_configure:
	ln -sf /usr/share/misc/config.sub .
	ln -sf /usr/share/misc/config.guess .
	autoconf
        # dh_auto_configure -v
	./configure --prefix=/usr --includedir=/usr/include \
            --mandir=/usr/share/man --infodir=/usr/share/info \
            --sysconfdir=/etc --localstatedir=/var \
	    --libdir=/usr/lib --libexecdir=/usr/lib