ansible-eole/Makefile

10 lines
297 B
Makefile

DESTDIR := ./
install:
install -d $(DESTDIR)usr/share/ansible/plugins/modules
install src/eole_config.py $(DESTDIR)usr/share/ansible/plugins/modules
link-dev:
mkdir -p "$(HOME)/.ansible/plugins/modules"
ln -s "$(PWD)/src" "$(HOME)/.ansible/plugins/modules/eole"
.PHONY: link-locally install