summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-02-04 11:43:18 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-02-12 17:41:26 +0000
commit1cbec8113c62286bcd3190a9a3448723f23994ac (patch)
tree16927e98ae5bdeda36e73037875d4ac588270c42 /Makefile
parentdc583b1054d1cde492f0d33095a3dea2c8a2ac14 (diff)
downloadtrove-setup-1cbec8113c62286bcd3190a9a3448723f23994ac.tar.gz
Recursively copy etc to DESTDIR
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 34996f6..242ab57 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"