aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-02-20 00:50:14 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-02-20 00:50:14 +0000
commit78766bfe18a915b20b4a2de490ef4e9a1b805099 (patch)
treeb80982d059bc750f3e9a4871b44f31e12885aab8
parent218f7efb7e35fc2871dfbf184fdc0f0f81f86858 (diff)
downloadverteco-78766bfe18a915b20b4a2de490ef4e9a1b805099.tar.gz
Add PHP to make install
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7b05f25..a619764 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,8 @@ MODBUSLOGLOGDIR=/var/modbuslog
FTPHELPERCFLAGS=
FTPHELPERLIBS=-lconfig
FTPHELPERDIR=/usr/bin
+PHPSDIR=php
+WWWDIR=/var/www
all: modbuslog ftphelper
@@ -29,3 +31,4 @@ install: all
test -f $(MODBUSLOGLOGDIR)/interval/interval.txt || $(INSTALL) -m 644 $(SDIR)/interval.txt $(MODBUSLOGLOGDIR)/interval/interval.txt
$(INSTALL) $(SDIR)/ftpupload $(FTPHELPERDIR)/ftpupload
$(INSTALL) $(SDIR)/ftphelper $(FTPHELPERDIR)/ftphelper
+ $(INSTALL) $(PHPSDIR)/readfile.php $(WWWDIR)/readfile.php