summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2013-10-15 21:06:53 -0300
committerLucas De Marchi <lucas.demarchi@intel.com>2013-10-16 00:34:33 -0300
commit219ef659b1ae22c9286d2e5dce77d24227c6d3f5 (patch)
treeb7271edcc75c27488e6cd6938b4bb6970ee9d6dd /Makefile.am
parentc8a624cc85630796c245852fc7c60fc2d5874d37 (diff)
build: Fix failing to install unit file on distcheck
During distcheck we fail to install the systemd user session unit file because it's trying to install to the place returned by pkg-config. We could add a --with-systemduserunitdir= and set it to a proper install place. This is done in some other programs like systemd. However there's not much to test for the unit files installation during distcheck so just pass --disable-systemd that will do the right thing. Fix the error below: /usr/bin/install -c -m 644 e18.service '/usr/lib/systemd/user' /usr/bin/install: cannot remove ‘/usr/lib/systemd/user/e18.service’: Permission denied make[4]: *** [install-unitsDATA] Error 1 make[4]: Leaving directory `/home/lucas/p/e/enlightenment/enlightenment-0.17.99.17181/_build/data/units' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/lucas/p/e/enlightenment/enlightenment-0.17.99.17181/_build/data/units' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/lucas/p/e/enlightenment/enlightenment-0.17.99.17181/_build/data' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/lucas/p/e/enlightenment/enlightenment-0.17.99.17181/_build' make: *** [distcheck] Error 1
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 17c74b1fa..0408b9b28 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,6 +66,8 @@ po/Rules-quot
66 66
67endif 67endif
68 68
69DISTCHECK_CONFIGURE_FLAGS = --disable-systemd
70
69EXTRA_DIST = config.rpath README AUTHORS COPYING \ 71EXTRA_DIST = config.rpath README AUTHORS COPYING \
70 enlightenment.spec.in enlightenment.spec enlightenment.pc 72 enlightenment.spec.in enlightenment.spec enlightenment.pc
71 73