[librsvg] Fix symlink creation for rsvg-view and rsvg-convert
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Fix symlink creation for rsvg-view and rsvg-convert
- Date: Tue, 22 Jun 2010 13:55:50 +0000 (UTC)
commit 2fc0b201ca40c0d736451565fb2aa3aeb4d121a8
Author: Christian Persch <chpe gnome org>
Date: Tue Jun 22 15:51:54 2010 +0200
Fix symlink creation for rsvg-view and rsvg-convert
Only create the symlinks when it doesn't already exist.
Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 578ffae..9da9c7a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -169,6 +169,6 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
if GTK_API_VERSION_2
install-exec-hook:
- (cd $(DESTDIR)$(bindir) && $(LN_S) rsvg-convert-2 rsvg-convert)
- (cd $(DESTDIR)$(bindir) && $(LN_S) rsvg-view-2 rsvg-view)
+ @test -e "$(DESTDIR)$(bindir)/rsvg-convert" || (cd $(DESTDIR)$(bindir) && $(LN_S) rsvg-convert-2 rsvg-convert)
+ @test -e "$(DESTDIR)$(bindir)/rsvg-view" || (cd $(DESTDIR)$(bindir) && $(LN_S) rsvg-view-2 rsvg-view)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]