summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-13 11:31:31 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-13 11:31:31 +0100
commit18787b4e8f8e0272b8ab8e84d8ca57a5337cf83e (patch)
treebd6d7ec84c758fa32a21d774fbc8cfa5df56358b /Makefile
parentb67b08d5806d1bbf2d31ac28f3ff1e65cd6c4388 (diff)
downloadtrove-setup-18787b4e8f8e0272b8ab8e84d8ca57a5337cf83e.tar.gz
More trove-setup stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 294c4d2..409c4ac 100644
--- a/Makefile
+++ b/Makefile
@@ -4,5 +4,10 @@ install:
mkdir -p "${DESTDIR}/usr/lib/systemd/system/multi-user.target.wants"
cp units/* "${DESTDIR}/usr/lib/systemd/system"
for I in $$(cd units; ls); do \
- ln -sf ../$$I "${DESTDIR}/usr/lib/systemd/system/multi-user.target.wants/$I"; \
+ ln -sf ../$$I "${DESTDIR}/usr/lib/systemd/system/multi-user.target.wants/$$I"; \
done
+ mkdir -p "${DESTDIR}/etc"
+ cp cgitrc "${DESTDIR}/etc/cgitrc"
+ cp cgit-head.inc "${DESTDIR}/etc/cgit-trove-head.inc"
+ mkdir -p "${DESTDIR}/var/www/htdocs"
+ cp http-assets/* "${DESTDIR}/var/www/htdocs"