File: rules

package info (click to toggle)
phonefsod 0.1%2Bgit20121018-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 316 kB
  • ctags: 277
  • sloc: ansic: 2,149; sh: 56; makefile: 42
file content (21 lines) | stat: -rwxr-xr-x 483 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
#!/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:
	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:
	dh_clean