added symbolic links
authorkramm <kramm>
Mon, 6 Jan 2003 20:04:52 +0000 (20:04 +0000)
committerkramm <kramm>
Mon, 6 Jan 2003 20:04:52 +0000 (20:04 +0000)
Makefile.common.in
swfs/Makefile.in

index cd1376b..b1e2abe 100755 (executable)
@@ -28,6 +28,8 @@ RANLIB=@RANLIB@
 STRIP=@STRIP@
 
 # installing
+LN_S = @LN_S@
+PACKAGE = @PACKAGE@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 UNINSTALL_DATA = rm -f
index 97d4481..b25dffa 100644 (file)
@@ -31,11 +31,19 @@ install:
        $(INSTALL_DATA) ./simple_viewer.swf $(pkgdatadir)/swfs/simple_viewer.swf
        $(INSTALL_DATA) ./keyboard_viewer.swf $(pkgdatadir)/swfs/keyboard_viewer.swf
        $(INSTALL_DATA) ./PreLoaderTemplate.swf $(pkgdatadir)/swfs/PreLoaderTemplate.swf
+       $(INSTALL_DATA) ./tessel_loader.swf $(pkgdatadir)/swfs/tessel_loader.swf
+       $(INSTALL_DATA) ./swft_loader.swf $(pkgdatadir)/swfs/swft_loader.swf
+       test -f $(pkgdatadir)/swfs/default_viewer.swf || \
+           $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf $(pkgdatadir)/swfs/default_viewer.swf; \
+       test -f $(pkgdatadir)/swfs/default_loader.swf || \
+           $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf $(pkgdatadir)/swfs/default_loader.swf; \
                
 uninstall:
        $(UNINSTALL_DATA) $(pkgdatadir)/swfs/simple_viewer.swf
        $(UNINSTALL_DATA) $(pkgdatadir)/swfs/keyboard_viewer.swf
        $(UNINSTALL_DATA) $(pkgdatadir)/swfs/PreLoaderTemplate.swf
+       $(UNINSTALL_DATA) $(pkgdatadir)/swfs/tessel_loader.swf
+       $(UNINSTALL_DATA) $(pkgdatadir)/swfs/swft_loader.swf
 
 clean: 
        rm -f *.o *.lo *.a *.la simple_viewer keyboard_viewer PreLoaderTemplate simple_viewer.swf keyboard_viewer.swf PreLoaderTemplate.swf