diff options
author | fishsoupisgood <github@madingley.org> | 2021-01-12 16:58:31 +0000 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2021-01-12 16:58:31 +0000 |
commit | 7c6887eaaf812b63bab6c5e134f80a2ef36aeb31 (patch) | |
tree | 4b4b0d371107ae1b8540ca1618cb9aa796b72616 /heating-cgi/Makefile | |
parent | f4b573fe337a436d5e2b20be4be031d77376d609 (diff) | |
download | heating-7c6887eaaf812b63bab6c5e134f80a2ef36aeb31.tar.gz heating-7c6887eaaf812b63bab6c5e134f80a2ef36aeb31.tar.bz2 heating-7c6887eaaf812b63bab6c5e134f80a2ef36aeb31.zip |
works
Diffstat (limited to 'heating-cgi/Makefile')
-rw-r--r-- | heating-cgi/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/heating-cgi/Makefile b/heating-cgi/Makefile new file mode 100644 index 0000000..7a7bc3b --- /dev/null +++ b/heating-cgi/Makefile @@ -0,0 +1,22 @@ + +foo: other.stamp prometheus.stamp + +SRC=heating.cgi boiler_rx run_boiler_rx + + +other.stamp: ${SRC} + scp heating.cgi other:/export/home/httpd/heating/cgi-bin/index.cgi + scp boiler_rx run_boiler_rx other:/usr/local/sbin/ + touch $@ + +prometheus.stamp: ${SRC} + scp heating.cgi prometheus:/home/httpd/html/heating.cgi + scp boiler_rx run_boiler_rx dhoma:/usr/local/sbin/ + touch $@ + +clean: + /bin/rm -f *.bak + +tidy: + perltidy -b heating.cgi boiler_rx + |