[go: up one dir, main page]

File: rules

package info (click to toggle)
upse 1.0.0-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,328 kB
  • sloc: ansic: 5,722; sh: 3,391; makefile: 62
file content (20 lines) | stat: -rwxr-xr-x 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

%:
	dh $@ 

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

override_dh_auto_build:
	dh_auto_build -- DESTDIR=$(CURDIR)/debian/upse

override_dh_install:
	dh_install --sourcedir=$(CURDIR)/debian/upse