summaryrefslogtreecommitdiffstats
path: root/heating-cgi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'heating-cgi/Makefile')
-rw-r--r--heating-cgi/Makefile22
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
+