16 lines
279 B
Makefile
16 lines
279 B
Makefile
.PHONY: all install clean
|
|
|
|
conf_files := $(wildcard etc/*/*.d/*) $(wildcard etc/*.d/*)
|
|
conf_targets := $(foreach path,$(conf_files),/$(path))
|
|
|
|
all:
|
|
|
|
install: all $(udev_targets) $(conf_targets)
|
|
|
|
clean:
|
|
rm $(udev_targets) $(conf_targets)
|
|
|
|
/etc/%: etc/%
|
|
mkdir -p $(@D)
|
|
cp $< $@
|