summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-11-07 21:42:31 -0500
committerrsiddharth <s@ricketyspace.net>2019-11-07 21:42:31 -0500
commit8073791bb9c69bf0553f482c49518fe4148a661a (patch)
tree04b36d7d7e7e4175bbec2023693bf0c7babfce52 /Makefile
parent5da854312447d3ff9392a3dd127dbfcd69e0ed5e (diff)
Makefile: Add rcd.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f293d4b..df83a2c 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,7 @@ VENV_CMD=virtualenv-3
JSHINT=~/.npm-packages/bin/jshint
PRD_HOST=cygnus
PRD_WHEEL=nfsw-0.1.0.dev1-py3-none-any.whl
+RC_D=etc/rc.d/nfsw
dunno:
@echo "Give me somepin to make"
@@ -65,6 +66,12 @@ prd-install:
&& pip install /var/www/nfsw/wheel/${PRD_WHEEL} \\"
.PHONY: prd-install
+rcd:
+ scp ${RC_D} root@${PRD_HOST}:/${RC_D}
+ ssh root@${PRD_HOST} chmod 555 /${RC_D}
+ ssh root@${PRD_HOST} chown root:wheel /${RC_D}
+.PHONY: rcd
+
clean:
rm -rf build/ dist/ nfsw.egg-info/