File: rules

package info (click to toggle)
avr-evtd 1.7.7-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 424 kB
  • sloc: ansic: 1,152; sh: 212; makefile: 49
file content (23 lines) | stat: -rwxr-xr-x 683 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

TARGETDIR=$(CURDIR)/debian/avr-evtd


%:
	dh $@

override_dh_auto_clean:
	# FIXME: upstream's install or clean is broken

override_dh_auto_install:
	cp -l Install/avr-evtd.init debian/avr-evtd.init
	cp -l Changelog.old Changelog

	# FIXME: Upstream needs to be notified that this should be the ideal:
	#$(MAKE) DESTDIR=$(CURDIR)/debian/avr-evtd install

	install avr-evtd			$(TARGETDIR)/usr/sbin
	install -m 755	Install/EventScript	$(TARGETDIR)/etc/avr-evtd/
	install -m 644	Install/emergency-eth0	$(TARGETDIR)/etc/avr-evtd/
	install -m 644	Install/recovery.tar	$(TARGETDIR)/etc/avr-evtd/
	install -m 644	Install/avr-evtd.config	$(TARGETDIR)/etc/default/avr-evtd