mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Restructured clean/distclean to use a heavy optimizing shortcut
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10486 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
09f0c91794
commit
1366fce8d0
2 changed files with 18 additions and 28 deletions
26
bundle.make
26
bundle.make
|
@ -3,10 +3,11 @@
|
|||
#
|
||||
# Makefile rules to build GNUstep-based bundles.
|
||||
#
|
||||
# Copyright (C) 1997 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1997, 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# Author: Scott Christley <scottc@net-community.com>
|
||||
# Author: Ovidiu Predescu <ovidiu@net-community.com>
|
||||
# Author: Nicola Pero <nicola@brainstorm.co.uk>
|
||||
#
|
||||
# This file is part of the GNUstep Makefile Package.
|
||||
#
|
||||
|
@ -33,7 +34,8 @@ endif
|
|||
|
||||
# The name of the bundle is in the BUNDLE_NAME variable.
|
||||
# The list of bundle resource file are in xxx_RESOURCE_FILES
|
||||
# The list of localized bundle resource files is in xxx_LOCALIZED_RESOURCE_FILES
|
||||
# The list of localized bundle resource files is in
|
||||
# xxx_LOCALIZED_RESOURCE_FILES
|
||||
# The list of languages the bundle supports is in xxx_LANGUAGES
|
||||
# The list of bundle resource directories are in xxx_RESOURCE_DIRS
|
||||
# The name of the principal class is xxx_PRINCIPAL_CLASS
|
||||
|
@ -55,9 +57,14 @@ internal-install:: $(BUNDLE_NAME:=.install.bundle.variables)
|
|||
|
||||
internal-uninstall:: $(BUNDLE_NAME:=.uninstall.bundle.variables)
|
||||
|
||||
internal-clean:: $(BUNDLE_NAME:=.clean.bundle.variables)
|
||||
internal-clean:: $(BUNDLE_NAME:=.clean.bundle.subprojects)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) \
|
||||
$(addsuffix $(BUNDLE_EXTENSION),$(BUNDLE_NAME))
|
||||
|
||||
internal-distclean:: $(BUNDLE_NAME:=.distclean.bundle.variables)
|
||||
internal-distclean:: $(BUNDLE_NAME:=.distclean.bundle.subprojects)
|
||||
rm -rf shared_obj static_obj shared_debug_obj shared_profile_obj \
|
||||
static_debug_obj static_profile_obj shared_profile_debug_obj \
|
||||
static_profile_debug_obj
|
||||
|
||||
$(BUNDLE_NAME):
|
||||
@$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory \
|
||||
|
@ -285,17 +292,6 @@ ifneq ($(HEADER_FILES),)
|
|||
endif
|
||||
rm -rf $(BUNDLE_INSTALL_DIR)/$(BUNDLE_DIR_NAME)
|
||||
|
||||
#
|
||||
# Cleaning targets
|
||||
#
|
||||
internal-bundle-clean::
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) $(BUNDLE_DIR_NAME)
|
||||
|
||||
internal-bundle-distclean::
|
||||
rm -rf shared_obj static_obj shared_debug_obj shared_profile_obj \
|
||||
static_debug_obj static_profile_obj shared_profile_debug_obj \
|
||||
static_profile_debug_obj
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
|
|
@ -65,9 +65,14 @@ internal-install:: $(GSWBUNDLE_NAME:=.install.bundle.variables)
|
|||
|
||||
internal-uninstall:: $(GSWBUNDLE_NAME:=.uninstall.bundle.variables)
|
||||
|
||||
internal-clean:: $(GSWBUNDLE_NAME:=.clean.bundle.variables)
|
||||
internal-clean:: $(GSWBUNDLE_NAME:=.clean.bundle.subprojects)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) \
|
||||
$(addsuffix $(GSWBUNDLE_EXTENSION),$(BUNDLE_NAME))
|
||||
|
||||
internal-distclean:: $(GSWBUNDLE_NAME:=.distclean.bundle.variables)
|
||||
internal-distclean:: $(GSWBUNDLE_NAME:=.distclean.bundle.subprojects)
|
||||
rm -rf shared_obj static_obj shared_debug_obj shared_profile_obj \
|
||||
static_debug_obj static_profile_obj shared_profile_debug_obj \
|
||||
static_profile_debug_obj
|
||||
|
||||
$(GSWBUNDLE_NAME):
|
||||
@$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory \
|
||||
|
@ -285,17 +290,6 @@ ifneq ($(HEADER_FILES),)
|
|||
endif
|
||||
rm -rf $(GSWBUNDLE_INSTALL_DIR)/$(GSWBUNDLE_DIR_NAME)
|
||||
|
||||
#
|
||||
# Cleaning targets
|
||||
#
|
||||
internal-bundle-clean::
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) $(GSWBUNDLE_DIR_NAME)
|
||||
|
||||
internal-bundle-distclean::
|
||||
rm -rf shared_obj static_obj shared_debug_obj shared_profile_obj \
|
||||
static_debug_obj static_profile_obj shared_profile_debug_obj \
|
||||
static_profile_debug_obj
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue