File: Makefile

package info (click to toggle)
runit-run 0.5.0
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 112 kB
  • ctags: 3
  • sloc: sh: 134; makefile: 49
file content (12 lines) | stat: -rw-r--r-- 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
DESTDIR=

install:
	for i in 2 3 4; do install -d $(DESTDIR)/etc/runit/getty-$$i; done
	for i in 2 3 4; do \
	  install -m0755 getty-$$i/run $(DESTDIR)/etc/runit/getty-$$i/run; \
	  install -m0755 getty-$$i/finish $(DESTDIR)/etc/runit/getty-$$i/finish; \
	done
	for i in 1 2 3 ctrlaltdel; do \
	  install -m0755 $$i $(DESTDIR)/etc/runit/$$i; \
	done
	install -m0755 runit-policy-rc.d $(DESTDIR)/usr/sbin/runit-policy-rc.d