summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-03-08 21:27:03 +0100
committerDaniel Baumann <daniel@debian.org>2010-03-12 16:15:39 +0100
commitf312b133091ff52e5f5106e333c7649bd3f3ad28 (patch)
treee27d5aa140ed33efba95823014058e80f3bfeaad /cgi
parent89bf159942a9e5e9665ce3d7a820f67b8528b2d6 (diff)
downloadvyos-live-build-f312b133091ff52e5f5106e333c7649bd3f3ad28.tar.gz
vyos-live-build-f312b133091ff52e5f5106e333c7649bd3f3ad28.zip
Adding temporary makefile for the cgi.
Diffstat (limited to 'cgi')
-rw-r--r--cgi/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/cgi/Makefile b/cgi/Makefile
new file mode 100644
index 000000000..2bd7477f4
--- /dev/null
+++ b/cgi/Makefile
@@ -0,0 +1,11 @@
+# Makefile
+
+install:
+ install -D -m 0755 cgi $(DESTDIR)/usr/lib/cgi-bin/live-helper
+ install -D -m 0755 cron $(DESTDIR)/etc/cron.d/live-helper.cgi
+ install -D -m 0644 default $(DESTDIR)/etc/default/live-helper.cgi
+ install -D -m 0644 logrotate $(DESTDIR)/etc/logrotate.d/live-helper.cgi
+
+ install -d -m 0755 $(DESTDIR)/var/log
+ touch $(DESTDIR)/var/log/live
+ chown www-data:www-data $(DESTDIR)/var/log/live