File: rules

package info (click to toggle)
brutefir 1.0k-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,424 kB
  • sloc: ansic: 22,770; asm: 498; makefile: 322; sh: 6
file content (17 lines) | stat: -rwxr-xr-x 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@ -Smakefile

override_dh_auto_build:
	dh_auto_build -- ARCH=`dpkg --print-architecture`

override_dh_auto_install:
	dh_auto_install -- ARCH=`dpkg --print-architecture`
	mv $(CURDIR)/debian/brutefir/usr/bin/brutefir \
		$(CURDIR)/debian/brutefir/usr/lib/brutefir/brutefir.real
	cp debian/brutefir.wrapper $(CURDIR)/debian/brutefir/usr/bin/brutefir
	chmod 755 $(CURDIR)/debian/brutefir/usr/bin/brutefir

override_dh_installchangelogs:
	dh_installchangelogs CHANGES