[gnome-common] Scrollkeeper srcdir!=builddir fix, bug 409060
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-common] Scrollkeeper srcdir!=builddir fix, bug 409060
- Date: Wed, 1 Aug 2012 22:16:19 +0000 (UTC)
commit 960b1bde8d156f61340500a260402264c5320603
Author: LoÃc Minier <lool dooz org>
Date: Wed Aug 1 23:13:35 2012 +0100
Scrollkeeper srcdir!=builddir fix, bug 409060
Fix the install rule too.
doc-build/omf.make | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/doc-build/omf.make b/doc-build/omf.make
index 0572f84..77ad44c 100644
--- a/doc-build/omf.make
+++ b/doc-build/omf.make
@@ -45,7 +45,9 @@ omf_timestamp: $(omffile)
install-data-hook-omf:
$(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
for file in $(omffile); do \
- $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
+ absfile=$(srcdir)/$$file.out; \
+ test -r $$file.out && absfile=$$file.out; \
+ $(INSTALL_DATA) $$absfile $(DESTDIR)$(omf_dest_dir)/$$file; \
done
-scrollkeeper-update -p $(DESTDIR)$(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]