mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Implemented strip=yes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11751 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
31ad6ebdd4
commit
c9c86c17f8
10 changed files with 56 additions and 0 deletions
20
ChangeLog
20
ChangeLog
|
@ -1,3 +1,23 @@
|
|||
Fri Dec 14 12:32:45 2001 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* palette.make (internal-palette-install): If CHOWN_TO is
|
||||
defined, chown the installed dir.
|
||||
|
||||
Fri Dec 14 12:22:44 2001 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
Implemented strip=yes.
|
||||
* config.make.in (STRIP): New variable.
|
||||
* rules.make (INSTALL_PROGRAM): Add -s if strip=yes.
|
||||
(strip): Export if defined to be yes.
|
||||
* application.make (internal-app-install): Strip the installed
|
||||
executable if strip=yes.
|
||||
* bundle.make (internal-bundle-install): Idem.
|
||||
* framework.make (internal-framework-install): Idem.
|
||||
* gswapp.make (internal-gswapp-install): Idem.
|
||||
* gswbundle.make (internal-bundle-install): Idem.
|
||||
* palette.make (internal-palette-install): Idem.
|
||||
* service.make (internal-service-install): Idem.
|
||||
|
||||
Thu Dec 13 12:27:18 2001 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* java-tool.make
|
||||
|
|
|
@ -261,6 +261,9 @@ internal-app-install:: $(GNUSTEP_APPS)
|
|||
ifneq ($(CHOWN_TO),)
|
||||
$(CHOWN) -R $(CHOWN_TO) $(GNUSTEP_APPS)/$(APP_DIR_NAME)
|
||||
endif
|
||||
ifeq ($(strip),yes)
|
||||
$(STRIP) $(GNUSTEP_APPS)/$(APP_FILE)
|
||||
endif
|
||||
|
||||
|
||||
$(GNUSTEP_APPS):
|
||||
|
|
|
@ -307,6 +307,9 @@ endif
|
|||
ifneq ($(CHOWN_TO),)
|
||||
$(CHOWN) -R $(CHOWN_TO) $(BUNDLE_INSTALL_DIR)/$(BUNDLE_DIR_NAME)
|
||||
endif
|
||||
ifeq ($(strip),yes)
|
||||
$(STRIP) $(BUNDLE_INSTALL_DIR)/$(BUNDLE_FILE)
|
||||
endif
|
||||
|
||||
$(BUNDLE_DIR_NAME)/Resources:
|
||||
$(MKDIRS) $@
|
||||
|
|
|
@ -64,6 +64,7 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
TAR = @TAR@
|
||||
MKDIRS = $(GNUSTEP_MAKEFILES)/mkinstalldirs
|
||||
CHOWN = chown
|
||||
STRIP = strip
|
||||
|
||||
# The default library combination
|
||||
default_library_combo = @ac_cv_library_combo@
|
||||
|
|
|
@ -447,6 +447,9 @@ internal-framework-install:: $(FRAMEWORK_INSTALL_DIR) \
|
|||
$(TAR) cf - $(FRAMEWORK_DIR_NAME) | (cd $(FRAMEWORK_INSTALL_DIR); $(TAR) xf -)
|
||||
ifneq ($(CHOWN_TO),)
|
||||
$(CHOWN) -R $(CHOWN_TO) $(FRAMEWORK_INSTALL_DIR)/$(FRAMEWORK_DIR_NAME)
|
||||
endif
|
||||
ifeq ($(strip),yes)
|
||||
$(STRIP) $(FRAMEWORK_INSTALL_DIR)/$(FRAMEWORK_FILE)
|
||||
endif
|
||||
@(cd $(GNUSTEP_FRAMEWORKS_HEADERS); \
|
||||
if [ "$(HEADER_FILES)" != "" ]; then \
|
||||
|
@ -495,6 +498,9 @@ internal-framework-install:: $(FRAMEWORK_INSTALL_DIR) \
|
|||
$(TAR) cf - $(FRAMEWORK_DIR_NAME) | (cd $(FRAMEWORK_INSTALL_DIR); $(TAR) xf -)
|
||||
ifneq ($(CHOWN_TO),)
|
||||
$(CHOWN) -R $(CHOWN_TO) $(FRAMEWORK_INSTALL_DIR)/$(FRAMEWORK_DIR_NAME)
|
||||
endif
|
||||
ifeq ($(strip),yes)
|
||||
$(STRIP) $(FRAMEWORK_INSTALL_DIR)/$(FRAMEWORK_FILE)
|
||||
endif
|
||||
(cd $(GNUSTEP_FRAMEWORKS_HEADERS); \
|
||||
if [ "$(HEADER_FILES)" != "" ]; then \
|
||||
|
|
|
@ -364,6 +364,9 @@ internal-gswapp-install::
|
|||
ifneq ($(CHOWN_TO),)
|
||||
$(CHOWN) -R $(CHOWN_TO) $(GNUSTEP_GSWAPPS)/$(GSWAPP_DIR_NAME)
|
||||
endif
|
||||
ifeq ($(strip),yes)
|
||||
$(STRIP) $(GNUSTEP_GSWAPPS)/$(GSWAPP_FILE)
|
||||
endif
|
||||
|
||||
internal-gswapp-uninstall::
|
||||
(cd $(GNUSTEP_GSWAPPS); rm -rf $(GSWAPP_DIR_NAME))
|
||||
|
|
|
@ -290,6 +290,9 @@ endif
|
|||
ifneq ($(CHOWN_TO),)
|
||||
$(CHOWN) -R $(CHOWN_TO) $(GSWBUNDLE_INSTALL_DIR)/$(GSWBUNDLE_DIR_NAME)
|
||||
endif
|
||||
ifeq ($(strip),yes)
|
||||
$(STRIP) $(GSWBUNDLE_INSTALL_DIR)/$(GSWBUNDLE_FILE)
|
||||
endif
|
||||
|
||||
$(GSWBUNDLE_INSTALL_DIR)::
|
||||
@$(MKINSTALLDIRS) $@
|
||||
|
|
|
@ -170,6 +170,12 @@ $(PALETTE_DIR_NAME)/Resources/palette.table: $(PALETTE_DIR_NAME)/Resources
|
|||
|
||||
internal-palette-install:: internal-install-dirs
|
||||
tar cf - $(PALETTE_DIR_NAME) | (cd $(PALETTE_INSTALL_DIR); tar xf -)
|
||||
ifneq ($(CHOWN_TO),)
|
||||
$(CHOWN) -R $(CHOWN_TO) $(PALETTE_INSTALL_DIR)/$(PALETTE_DIR_NAME)
|
||||
endif
|
||||
ifeq ($(strip),yes)
|
||||
$(STRIP) $(PALETTE_INSTALL_DIR)/$(PALETTE_FILE)
|
||||
endif
|
||||
|
||||
internal-install-dirs:: $(PALETTE_INSTALL_DIR)
|
||||
|
||||
|
|
|
@ -185,6 +185,14 @@ $(GNUSTEP_MAKEFILES)/$(GNUSTEP_TARGET_DIR)/config.make: ;
|
|||
|
||||
$(GNUSTEP_MAKEFILES)/Additional/*.make: ;
|
||||
|
||||
#
|
||||
# Manage stripping
|
||||
#
|
||||
ifeq ($(strip),yes)
|
||||
INSTALL_PROGRAM += -s
|
||||
export strip
|
||||
endif
|
||||
|
||||
#
|
||||
# Prepare the arguments to install to set user/group of installed files
|
||||
#
|
||||
|
|
|
@ -182,6 +182,9 @@ internal-service-install:: $(GNUSTEP_SERVICES)
|
|||
ifneq ($(CHOWN_TO),)
|
||||
$(CHOWN) -R $(CHOWN_TO) $(GNUSTEP_SERVICES)/$(SERVICE_DIR_NAME)
|
||||
endif
|
||||
ifeq ($(strip),yes)
|
||||
$(STRIP) $(GNUSTEP_SERVICES)/$(SERVICE_FILE)
|
||||
endif
|
||||
|
||||
internal-service-uninstall::
|
||||
(cd $(GNUSTEP_SERVICES); rm -rf $(SERVICE_DIR_NAME))
|
||||
|
|
Loading…
Reference in a new issue