1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
SHELL = /bin/bash MYDIR = $(DESTDIR)/usr SUBDIRS = sbin share/vdr share/portage/config/sets BINS = CONFS = 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