aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-03-05 01:30:17 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-03-05 01:30:17 +0000
commit5535b9f088040451719e649aa4bae9a283a5927f (patch)
treee01da5768f9ad762137d7d904eb9127577dd74a5 /Makefile
parente7bc12b02ac4f59df000baaa842c32b500f66c01 (diff)
parent15bbcbcf3a7021f34c1f0af79c039dab89478890 (diff)
downloadverteco-5535b9f088040451719e649aa4bae9a283a5927f.tar.gz
Merge branch 'master' into debian_pkgdebian_pkg
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7b05f25..7659c27 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
@@ -25,7 +27,9 @@ install: all
then \
mkdir $(MODBUSLOGLOGDIR); \
mkdir $(MODBUSLOGLOGDIR)/interval; \
+ mkdir $(MODBUSLOGLOGDIR)/archive; \
fi
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