summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 34996f6..453c01e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,7 @@ install:
for I in $$(cd units; ls); do \
ln -sf ../$$I "${DESTDIR}/usr/lib/systemd/system/multi-user.target.wants/$$I"; \
done
- mkdir -p "${DESTDIR}/etc"
- cp etc/* "${DESTDIR}/etc"
+ cp -r etc "${DESTDIR}"
mkdir -p "${DESTDIR}/var/www/htdocs"
cp http-assets/* "${DESTDIR}/var/www/htdocs"
ln -s cgit "${DESTDIR}/var/www/htdocs/cgi-bin"
@@ -18,3 +17,9 @@ install:
cp bins/* "${DESTDIR}/usr/bin/"
mkdir -p "${DESTDIR}/usr/share/trove-setup"
cp -r share/* "${DESTDIR}/usr/share/trove-setup/"
+
+ ln -s /usr/lib/gitano/bin/gitano-command.cgi \
+ "${DESTDIR}/var/www/htdocs/gitano-command.cgi"
+
+ ln -s /usr/lib/gitano/bin/gitano-smart-http.cgi \
+ "${DESTDIR}/var/www/htdocs/gitano-smart-http.cgi"