File: rules

package info (click to toggle)
flashrom 0.9.2%2Br1141-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,536 kB
  • ctags: 1,827
  • sloc: ansic: 20,878; makefile: 322
file content (22 lines) | stat: -rwxr-xr-x 620 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
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_MAKE_INSTALL_TARGET := install PREFIX=$(CURDIR)/debian/flashrom/usr

# Reduce the number of unneeded dependencies with --as-needed.
LDFLAGS += "-Wl,--as-needed"

post-patches::
	@# Copy udev rules file into debian/ so that dh_installudev finds it.
	cp util/z60_flashrom.rules debian/flashrom.udev

clean::
	rm -f .dependencies .features
	rm -f debian/flashrom.udev

common-binary-post-install-arch:: list-missing