summaryrefslogtreecommitdiff
path: root/pinyconfigs/Makefile
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2010-11-07 00:09:53 -0700
committerJulian Blake Kongslie <jblake@omgwallhack.org>2010-11-07 00:09:53 -0700
commit82f9c9f1fa19c59e296570412656c66607d46f48 (patch)
tree37ddd246883521548513faebd94688b0db70e24c /pinyconfigs/Makefile
parent94fc7a992c7f3e163b491ce8b248f3c1b4ca2702 (diff)
downloadpiny-code-82f9c9f1fa19c59e296570412656c66607d46f48.tar.gz
piny-code-82f9c9f1fa19c59e296570412656c66607d46f48.zip
pinyconfigs
Adding a package that does all the config file magic to get a piny instance running. Signed-off-by: Julian Blake Kongslie <jblake@omgwallhack.org>
Diffstat (limited to 'pinyconfigs/Makefile')
-rw-r--r--pinyconfigs/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/pinyconfigs/Makefile b/pinyconfigs/Makefile
new file mode 100644
index 0000000..8a23b38
--- /dev/null
+++ b/pinyconfigs/Makefile
@@ -0,0 +1,20 @@
+build:
+
+install:
+ install -o root -g root -m 755 -d \
+ $(DESTDIR)/etc/apache2/piny-available \
+ $(DESTDIR)/etc/apache2/piny-enabled \
+ $(DESTDIR)/etc/apache2/sites-available \
+ $(DESTDIR)/etc/cron.weekly \
+ $(DESTDIR)/etc/ikiwiki/wikilist.d \
+ $(DESTDIR)/etc/sudoers.d \
+ $(DESTDIR)/etc/sv/git-daemon \
+ $(DESTDIR)/srv/git
+ install -o root -g root -m 644 etc/cgitrc etc/piny-default.conf etc/piny-override.conf $(DESTDIR)/etc
+ install -o root -g root -m 644 etc/apache2/envvars $(DESTDIR)/etc/apache2
+ install -o root -g root -m 644 etc/apache2/sites-available/piny $(DESTDIR)/etc/apache2/sites-available
+ install -o root -g root -m 755 etc/cron.weekly/piny $(DESTDIR)/etc/cron.weekly
+ install -o root -g root -m 600 etc/sudoers.d/pinyadmin $(DESTDIR)/etc/sudoers.d
+ install -o root -g root -m 755 etc/sv/git-daemon/run $(DESTDIR)/etc/sv/git-daemon
+
+clean: