[Vm-dev] [patch] Don't strip scripts

Aleksej Saushev asau at inbox.ru
Wed Dec 8 08:23:12 UTC 2010


  Hello!

Stripping scripts isn't allowed across platforms.

--- platforms/unix/config/make.cfg.in.orig	2010-12-07 21:00:03.000000000 +0300
+++ platforms/unix/config/make.cfg.in	2010-12-07 21:32:51.000000000 +0300
@@ -72,6 +72,7 @@
 MKINSTALLDIRS=	mkdir -p
 INSTALL=	@INSTALL@
 INSTALL_PROG=	@INSTALL_PROGRAM@ $(INSTALL_ARGS)
+INSTALL_SCRIPT=	@INSTALL_SCRIPT@ $(INSTALL_ARGS)
 INSTALL_DATA=	@INSTALL_DATA@ $(INSTALL_ARGS)
 UNINSTALL=	$(SHELL) $(cfgdir)/uninstall
 AS=		@AS@
--- platforms/unix/config/Makefile.install.orig	2010-12-07 21:00:03.000000000 +0300
+++ platforms/unix/config/Makefile.install	2010-12-07 21:24:27.000000000 +0300
@@ -19,8 +19,8 @@
 	$(MKINSTALLDIRS) $(ROOT)$(plgdir)
 	$(MKINSTALLDIRS) $(ROOT)$(bindir)
 	$(INSTALL_PROG) $(squeak) $(ROOT)$(plgdir)
-	$(INSTALL_PROG) $(squeaksh) $(ROOT)$(exec_prefix)/$(squeak)
-	$(INSTALL_PROG) $(binsqueaksh) $(ROOT)$(bindir)/$(squeak)
+	$(INSTALL_SCRIPT) $(squeaksh) $(ROOT)$(exec_prefix)/$(squeak)
+	$(INSTALL_SCRIPT) $(binsqueaksh) $(ROOT)$(bindir)/$(squeak)
 	if test -n "$(VM_APP_ICONS)"; then \
 	  $(INSTALL_DATA) $(ICONS) $(ROOT)$(VM_APP_ICONS); \
 	fi


-- 
HE CE3OH...


More information about the Vm-dev mailing list