File: rules

package info (click to toggle)
phonefsod 0.1%2Bgit20110827-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 344 kB
  • sloc: ansic: 2,076; sh: 56; makefile: 44
file content (23 lines) | stat: -rwxr-xr-x 507 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
23
#!/usr/bin/make -f
%:
	dh $@ --with quilt --with autoreconf

# build to tmp location even if it's a single package
DEB_DESTDIR = $(CURDIR)/debian/tmp

override_dh_autoreconf:
	touch NEWS
	dh_autoreconf
	
override_dh_install:
	mkdir -p debian/phonefsod/usr/sbin
	mv debian/phonefsod/usr/bin/phonefsod debian/phonefsod/usr/sbin/phonefsod
	rm -rf debian/phonefsod/usr/bin

override_dh_installchangelogs:
	# remove unneeded changelog
	dh_installchangelogs -X ChangeLog

override_dh_clean:
	rm -f NEWS
	dh_clean