File: rules

package info (click to toggle)
gpsk31 0.5-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 988 kB
  • ctags: 762
  • sloc: cpp: 6,863; sh: 3,359; ansic: 83; makefile: 39
file content (14 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@

override_dh_clean:
	dh_clean config.guess config.sub

override_dh_auto_configure:
	cp -f /usr/share/misc/config.guess .
	cp -f /usr/share/misc/config.sub   .
	CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
		--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info