File: rules

package info (click to toggle)
ndiswrapper-modules-i386 1.1-2sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 20 kB
  • ctags: 2
  • sloc: makefile: 21
file content (13 lines) | stat: -rwxr-xr-x 457 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk

HEADERS += $(shell echo 2.6.8-4-{386,686,k7,{686,k7}-smp})

DEB_MAKE_ENVVARS += HEADERS="$(HEADERS)"
DEB_MAKE_INVOKE := $(DEB_MAKE_ENVVARS) make -C $(DEB_BUILDDIR)

$(patsubst %,binary/ndiswrapper-modules-%,$(HEADERS))::
	dpkg-distaddfile $(wildcard $(patsubst binary/%,%,$@)_*.deb) net optional
	mv $(wildcard $(patsubst binary/%,%,$@)_*.deb) ..