.ONESHELL: SHELL = /usr/bin/bash MAKEFLAGS += --no-print-directory .SILENT: devinit: if [[ ! -e config.py ]]; then cp config_example/config.j2 config.py chmod 600 config.py sed -i "/^DEBUG.*=.*/c\DEBUG = True" config.py sed -i 's/{{ smart_sat_ambientinfo_hostname }}/localhost/' config.py sed -i 's/"{{ smart_sat_ambientinfo_username }}"/None/' config.py sed -i 's/"{{ smart_sat_ambientinfo_password }}"/None/' config.py sed -i 's/{{ smart_sat_ambientinfo_topic }}/ambient_info/' config.py fi