Adding Makefile
This commit is contained in:
parent
f5ed5353ec
commit
9abf1b9604
1 changed files with 8 additions and 0 deletions
8
Makefile
Normal file
8
Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FOLDERS = if-down.d if-pre-up.d if-up.d
|
||||
DEST=/etc/network
|
||||
|
||||
all: $(foreach f, $(FOLDERS), link-file-$(f))
|
||||
|
||||
|
||||
link-file-%: %
|
||||
@ln -snf $(CURDIR)/$</netns $(DEST)/$</netns
|
Loading…
Reference in a new issue