[phodav] build-sys: fix dist (why distcheck worked?)



commit 0ddaa25133445d9a2bd2a9be06d23c45e3a3908f
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Wed Feb 5 13:41:19 2014 +0100

    build-sys: fix dist (why distcheck worked?)

 Makefile.am  |    4 ++--
 configure.ac |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 6499343..10afc2c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -68,14 +68,14 @@ chezdav_LDADD =                     \
 
 if HAVE_SYSTEMD
 systemdunitdir = $(SYSTEMDSYSTEMUNITDIR)
-systemdunit_DATA = \
+dist_systemdunit_DATA = \
        $(top_srcdir)/data/spice-webdavd.service \
        $(top_srcdir)/data/spice-webdavd.target
 endif
 
 if HAVE_UDEV
 udevrulesdir = $(UDEVDIR)/rules.d
-udevrules_DATA = $(top_srcdir)/data/70-spice-webdavd.rules
+dist_udevrules_DATA = $(top_srcdir)/data/70-spice-webdavd.rules
 endif
 
 BUILT_SOURCES += $(top_srcdir)/.version
diff --git a/configure.ac b/configure.ac
index 1ab02dc..81fd74e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,7 +105,7 @@ AC_ARG_WITH([systemdsystemunitdir],
             AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
             [], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
 AC_SUBST([SYSTEMDSYSTEMUNITDIR], [$with_systemdsystemunitdir])
-AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$systemdsystemunitdir"])
+AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"])
 
 AC_ARG_WITH([udevdir],
             AS_HELP_STRING([--with-udevdir=DIR], [Directory for udev files]),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]