33 lines
948 B
Diff
33 lines
948 B
Diff
From 176c6e3d47ff63a6f51b92a05ce19857099ba74a Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
|
|
Date: Fri, 12 Jan 2018 22:48:27 +0100
|
|
Subject: [PATCH] Makefile: Use seperate homedirs for pdf and ps generation
|
|
|
|
Signed-off-by: Stephan Mueller <smueller@chronox.de>
|
|
---
|
|
Makefile.am | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
index 0a867d5..cc4d123 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -205,7 +205,7 @@ DOC_TARGETS += pdf
|
|
pdf: pdf-stamp
|
|
pdf-stamp: lib/doc/libkcapi.xml
|
|
$(MKDIR_P) doc/pdf
|
|
- db2pdf -o doc/pdf $<
|
|
+ HOME=$(abs_top_builddir)/doc/pdf db2pdf -o doc/pdf $<
|
|
mv doc/pdf/*.pdf doc
|
|
rm -r doc/pdf
|
|
touch $@
|
|
@@ -217,7 +217,7 @@ DOC_TARGETS += ps
|
|
ps: ps-stamp
|
|
ps-stamp: lib/doc/libkcapi.xml
|
|
$(MKDIR_P) doc/ps
|
|
- db2ps -o doc/ps $<
|
|
+ HOME=$(abs_top_builddir)/doc/ps db2ps -o doc/ps $<
|
|
mv doc/ps/*.ps doc
|
|
rm -r doc/ps
|
|
touch $@
|