Commit 2fc0b201 authored by Christian Persch's avatar Christian Persch

Fix symlink creation for rsvg-view and rsvg-convert

Only create the symlinks when it doesn't already exist.
parent 3d28e419
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment