[Kimchi-devel] [PATCH 2/2] Issue #670: openSUSE: problem while building Kimchi
Aline Manera
alinefm at linux.vnet.ibm.com
Mon Jun 29 18:40:55 UTC 2015
On 29/06/2015 14:30, Ramon Medeiros wrote:
> Fix directory checking on Makefile.
>
> Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
> ---
> Makefile.am | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 1a0c8e7..0b46086 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -115,11 +115,11 @@ ChangeLog:
> fi
>
> install-data-local:
> - @if test -d $(systemdsystemunitdir) ; then \
> + @if test "$(systemdsystemunitdir)" != "" && test -d $(systemdsystemunitdir) ; then \
Only
@if test "$(systemdsystemunitdir)"
is not enough?
> mkdir -p $(DESTDIR)/$(systemdsystemunitdir); \
> $(INSTALL_DATA) contrib/kimchid.service.fedora $(DESTDIR)/$(systemdsystemunitdir)/kimchid.service; \
> else \
> - mkdir -p $(DESTDIR)/etc/init.d/ \
> + mkdir -p $(DESTDIR)/etc/init.d/; \
> $(INSTALL_DATA) contrib/kimchid.sysvinit $(DESTDIR)/etc/init.d/kimchid; \
> chmod +x $(DESTDIR)/etc/init.d/kimchid; \
> fi; \
More information about the Kimchi-devel
mailing list