Combine symlink rules into single rule
This commit is contained in:
parent
0af61cf77e
commit
8f5b14ad6d
5
Makefile
5
Makefile
|
@ -35,12 +35,9 @@ config: $(CONFIG_TARGETS) $(SYSTEMD_TARGETS) $(FONT_TARGETS)
|
|||
bin: $(BIN_TARGETS) $(PACKER_DIR)
|
||||
|
||||
$(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/%
|
||||
ln -s $(PWD)/$? $@
|
||||
|
||||
$(SYSTEMD_TARGETS): $(SYSTEMD_DIR)/%: systemd/%
|
||||
ln -s $(PWD)/$? $@
|
||||
|
||||
$(FONT_TARGETS): $(FONT_DIR)/%: nerdfont_symbols/%
|
||||
$(CONFIG_TARGETS) $(SYSTEMD_TARGETS) $(FONT_TARGETS):
|
||||
ln -s $(PWD)/$? $@
|
||||
|
||||
$(BIN_TARGETS): $(LOCAL_BIN)/%: bin/%
|
||||
|
|
Loading…
Reference in a new issue