From 967663102315a8baadce0d77f211bc48b9d98acb Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 21 Dec 2001 10:06:10 +0000 Subject: [PATCH] only install default_{loader,viewer} if there's not already one there. --- swfs/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/swfs/Makefile.in b/swfs/Makefile.in index 65fde3d..92ec1b1 100644 --- a/swfs/Makefile.in +++ b/swfs/Makefile.in @@ -169,8 +169,10 @@ install-pkgdataDATA: $(pkgdata_DATA) $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \ fi; fi; \ done - $(LN_S) $(DESTDIR)$(pkgdatadir)/simple_viewer.swf $(DESTDIR)$(pkgdatadir)/default_viewer.swf - $(LN_S) $(DESTDIR)$(pkgdatadir)/tessel_loader.swf $(DESTDIR)$(pkgdatadir)/default_loader.swf + test -e $(DESTDIR)$(pkgdatadir)/default_viewer.swf || \ + $(LN_S) $(DESTDIR)$(pkgdatadir)/simple_viewer.swf $(DESTDIR)$(pkgdatadir)/default_viewer.swf; \ + test -e $(DESTDIR)$(pkgdatadir)/default_loader.swf || \ + $(LN_S) $(DESTDIR)$(pkgdatadir)/tessel_loader.swf $(DESTDIR)$(pkgdatadir)/default_loader.swf; \ uninstall-pkgdataDATA: @$(NORMAL_UNINSTALL) -- 1.7.10.4