libkcapi/libkcapi-1.0.3-Makefile_absolute_path_docproc.patch
2018-01-16 18:47:27 +01:00

24 lines
852 B
Diff

From ee348492dfdd2df1d7e1c431d106dfe11edfcd86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
Date: Fri, 12 Jan 2018 22:47:44 +0100
Subject: [PATCH] Makefile: Use absolute path to built docproc
Signed-off-by: Stephan Mueller <smueller@chronox.de>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index f1caf3e..0a867d5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -196,7 +196,7 @@ TEMPFILE := $(shell mktemp)
%.xml: %.tmpl lib/doc/bin/docproc$(EXEEXT)
$(SED) "s/@@LIBVERSION@@/$(VERSION)/" < $< > $(TEMPFILE)
- LIBVERSION=$(VERSION) SRCTREE=lib/ ./lib/doc/bin/docproc$(EXEEXT) doc $(TEMPFILE) > $@
+ LIBVERSION=$(VERSION) SRCTREE=lib/ $(abs_top_builddir)/lib/doc/bin/docproc$(EXEEXT) doc $(TEMPFILE) > $@
rm $(TEMPFILE)
if HAVE_DB2PDF