summaryrefslogtreecommitdiff
path: root/swfs
diff options
context:
space:
mode:
authorkramm <kramm>2001-12-21 10:06:10 +0000
committerkramm <kramm>2001-12-21 10:06:10 +0000
commit967663102315a8baadce0d77f211bc48b9d98acb (patch)
tree41f6a658d3d99b0de82604b410144e8b67f11e95 /swfs
parent757c0aa98fb4168e6a7bc208cc89875ca88b842c (diff)
only install default_{loader,viewer} if there's not already one there.
Diffstat (limited to 'swfs')
-rw-r--r--swfs/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/swfs/Makefile.in b/swfs/Makefile.in
index 65fde3d1..92ec1b1a 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)