aboutsummaryrefslogtreecommitdiff
blob: 3b8a70336cfc5b5fcf3e417809f6bbcd1f0eeea6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id$

SHELL = /bin/bash

MYDIR = $(DESTDIR)/usr/share/vdr/shutdown
SUBDIRS =
BINS =
WAKEUP = wakeup-acpi.sh wakeup-rtc.sh wakeup-nvram.sh wakeup-none.sh
CONFS = $(wildcard shutdown*.sh pre*.sh periodic*.sh) $(WAKEUP)

all:

install:
	@install -m 0755 -o root -g root -d $(MYDIR)
	#install -m 0755 -o root -g root $(BINS) $(MYDIR)
	@install -m 0644 -o root -g root $(CONFS) $(MYDIR)
	@for DIR in $(SUBDIRS); do \
		$(MAKE) -C $$DIR install; \
	done

.PHONY: all install