blob: c2e4d4e02bfcc528279be70da3418da7fc8e21ca (
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-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
|