mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 04:21:00 +00:00
Updated to use GNUSTEP_INSTALLATION_DOMAIN instead of GNUSTEP_INSTALLATION_DIR; DESTDIR instead of INSTALL_ROOT_DIR; and fixed some makefile installation bugs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24094 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c591ede518
commit
445af8595d
16 changed files with 56 additions and 47 deletions
29
ChangeLog
29
ChangeLog
|
@ -1,3 +1,32 @@
|
||||||
|
2006-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||||
|
|
||||||
|
Notice: you should now use 'make DESTDIR=/tmp/xxx install' if you
|
||||||
|
want to relocate all the installation into /tmp/xxx/
|
||||||
|
* Makefile.postamble: Use DESTDIR instead of INSTALL_ROOT_DIR
|
||||||
|
everywhere.
|
||||||
|
|
||||||
|
* ColorPickers/GNUmakefile: (GNUSTEP_INSTALLATION_DOMAIN): Use
|
||||||
|
GNUSTEP_INSTALLATION_DOMAIN instead of GNUSTEP_INSTALLATION_DIR.
|
||||||
|
* Documentation/GNUmakefile: Same change.
|
||||||
|
* Documentation/General/GNUmakefile: Same change.
|
||||||
|
* Documentation/GuiUser/GNUmakefile: Same change.
|
||||||
|
* Images/GNUmakefile: Same change.
|
||||||
|
* Model/GNUmakefile: Same change.
|
||||||
|
* Panels/GNUmakefile: Same change.
|
||||||
|
* PrinterTypes/GNUmakefile: Same change.
|
||||||
|
* Resources/GNUmakefile: Same change.
|
||||||
|
* Source/GNUmakefile: Same change.
|
||||||
|
* Tools/GNUmakefile: Same change.
|
||||||
|
* Tools/gsnd/GNUmakefile: Same change.
|
||||||
|
|
||||||
|
* Printing/GSLPR/GNUmakefile (GNUSTEP_INSTALLATION_DOMAIN): Same change,
|
||||||
|
plus set GNUSTEP_INSTALLATION_DOMAIN before common.make and not after.
|
||||||
|
|
||||||
|
* Panels/GNUmakefile.postamble: Fixed all install/uninstall
|
||||||
|
targets that were failing to create the install directories
|
||||||
|
properly. Also, added ECHO macros so that 'make messages=yes'
|
||||||
|
works properly.
|
||||||
|
|
||||||
2006-11-12 Matt Rice <ratmice@gmail.com>
|
2006-11-12 Matt Rice <ratmice@gmail.com>
|
||||||
|
|
||||||
* Source/NSTableView.m (-noteNumberOfRowsChanged:): Post selection
|
* Source/NSTableView.m (-noteNumberOfRowsChanged:): Post selection
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
# If not, write to the Free Software Foundation,
|
# If not, write to the Free Software Foundation,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES = ../gui.make
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES = ../gui.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
# Boston, MA 02111 USA.
|
# Boston, MA 02111 USA.
|
||||||
|
|
||||||
# Install into the system root by default
|
# Install into the system root by default
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Install into the system root by default
|
# Install into the system root by default
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
include ../../config.make
|
include ../../config.make
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Install into the system root by default
|
# Install into the system root by default
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
include ../../config.make
|
include ../../config.make
|
||||||
|
|
|
@ -45,13 +45,13 @@
|
||||||
# The following rule is important mainly for packaging, because in that case
|
# The following rule is important mainly for packaging, because in that case
|
||||||
# you install into a fake system tree, and the directory is not there.
|
# you install into a fake system tree, and the directory is not there.
|
||||||
#
|
#
|
||||||
$(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional:
|
$(DESTDIR)$(GNUSTEP_MAKEFILES)/Additional:
|
||||||
$(MKDIRS) $(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional
|
$(MKDIRS) $(DESTDIR)$(GNUSTEP_MAKEFILES)/Additional
|
||||||
|
|
||||||
# Things to do before installing
|
# Things to do before installing
|
||||||
before-install:: $(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional
|
before-install:: $(DESTDIR)$(GNUSTEP_MAKEFILES)/Additional
|
||||||
$(INSTALL_DATA) gui.make \
|
$(INSTALL_DATA) gui.make \
|
||||||
$(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional/gui.make
|
$(DESTDIR)$(GNUSTEP_MAKEFILES)/Additional/gui.make
|
||||||
|
|
||||||
# Things to do after installing
|
# Things to do after installing
|
||||||
# after-install::
|
# after-install::
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
# Boston, MA 02111 USA.
|
# Boston, MA 02111 USA.
|
||||||
|
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||||
#
|
#
|
||||||
|
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
# If not, write to the Free Software Foundation,
|
# If not, write to the Free Software Foundation,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
# Things to do after installing
|
# Things to do after installing
|
||||||
after-install::
|
after-install::
|
||||||
ifneq ($(strip $(LOCALIZED_RESOURCE_FILES)),)
|
ifneq ($(strip $(LOCALIZED_RESOURCE_FILES)),)
|
||||||
@(echo "Copying localized resources into system..."; \
|
$(ECHO_NOTHING)echo "Copying localized resources into system..."; \
|
||||||
for l in $(LANGUAGES); do \
|
for l in $(LANGUAGES); do \
|
||||||
if [ ! -f $$l.lproj ]; then \
|
if [ ! -d $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj ]; then \
|
||||||
$(MKDIRS) $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
|
$(MKDIRS) $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
|
||||||
fi; \
|
fi; \
|
||||||
for f in $(LOCALIZED_RESOURCE_FILES); do \
|
for f in $(LOCALIZED_RESOURCE_FILES); do \
|
||||||
|
@ -36,30 +36,30 @@ ifneq ($(strip $(LOCALIZED_RESOURCE_FILES)),)
|
||||||
cp -r $$l.lproj/$$f $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
|
cp -r $$l.lproj/$$f $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
done;)
|
done$(END_ECHO)
|
||||||
endif
|
endif
|
||||||
ifneq ($(strip $(LOCALIZED_RESOURCE_COMPONENTS)),)
|
ifneq ($(strip $(LOCALIZED_RESOURCE_COMPONENTS)),)
|
||||||
@(echo "Copying localized components into system..."; \
|
$(ECHO_NOTHING)echo "Copying localized components into system..."; \
|
||||||
for l in $(LANGUAGES); do \
|
for l in $(LANGUAGES); do \
|
||||||
if [ ! -f $$l.lproj ]; then \
|
if [ ! -d $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj ]; then \
|
||||||
$(MKDIRS) $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
|
$(MKDIRS) $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
|
||||||
fi; \
|
fi; \
|
||||||
for f in $(LOCALIZED_RESOURCE_COMPONENTS); do \
|
for f in $(LOCALIZED_RESOURCE_COMPONENTS); do \
|
||||||
if [ -d $$l.lproj/$$f ]; then \
|
if [ -d $$l.lproj/$$f ]; then \
|
||||||
cp -r $$l.lproj/$$f $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
|
cp -r $$l.lproj/$$f $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
|
||||||
rm -rf $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj/$$f/CVS; \
|
rm -rf $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj/$$f/.svn; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
done;)
|
done$(END_ECHO)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Things to do after uninstalling
|
# Things to do after uninstalling
|
||||||
after-uninstall::
|
after-uninstall::
|
||||||
ifneq ($(strip $(LOCALIZED_RESOURCE_FILES)),)
|
ifneq ($(strip $(LOCALIZED_RESOURCE_FILES)),)
|
||||||
@(for l in $(LANGUAGES); do \
|
$(ECHO_NOTHING)for l in $(LANGUAGES); do \
|
||||||
if [ ! -f $$l.lproj ]; then \
|
if [ -d $$l.lproj ]; then \
|
||||||
rm -rf $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
|
rm -rf $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
|
||||||
fi; \
|
fi; \
|
||||||
done;)
|
done$(END_ECHO)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
# License along with this library; if not, write to the Free
|
# License along with this library; if not, write to the Free
|
||||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||||
|
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
|
@ -25,22 +25,16 @@
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../../gui.make
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../../gui.make
|
||||||
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
include ../../config.make
|
include ../../config.make
|
||||||
include ../../Version
|
include ../../Version
|
||||||
|
|
||||||
GNUSTEP_INSTALLATION_DIR=$(GNUSTEP_SYSTEM_ROOT)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BUNDLE_NAME=GSLPR
|
BUNDLE_NAME=GSLPR
|
||||||
BUNDLE_INSTALL_DIR= $(GNUSTEP_BUNDLES)/GSPrinting
|
BUNDLE_INSTALL_DIR= $(GNUSTEP_BUNDLES)/GSPrinting
|
||||||
GSLPR_PRINCIPAL_CLASS=GSLPRPrincipalClass
|
GSLPR_PRINCIPAL_CLASS=GSLPRPrincipalClass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(GNUSTEP_TARGET_OS),mingw32)
|
ifeq ($(GNUSTEP_TARGET_OS),mingw32)
|
||||||
GSLPR_BUNDLE_LIBS += -lgnustep-gui $(FND_LIBS) $(OBJC_LIBS)
|
GSLPR_BUNDLE_LIBS += -lgnustep-gui $(FND_LIBS) $(OBJC_LIBS)
|
||||||
endif
|
endif
|
||||||
|
@ -48,20 +42,16 @@ ifeq ($(GNUSTEP_TARGET_OS),cygwin)
|
||||||
GSLPR_BUNDLE_LIBS += -lgnustep-gui $(FND_LIBS) $(OBJC_LIBS)
|
GSLPR_BUNDLE_LIBS += -lgnustep-gui $(FND_LIBS) $(OBJC_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Libraries
|
# Libraries
|
||||||
#
|
#
|
||||||
#GSLPR_LIBRARIES_DEPEND_UPON +=
|
#GSLPR_LIBRARIES_DEPEND_UPON +=
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Resource files
|
# Resource files
|
||||||
#
|
#
|
||||||
#GSLPR_RESOURCE_FILES =
|
#GSLPR_RESOURCE_FILES =
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Header files
|
# Header files
|
||||||
#
|
#
|
||||||
|
@ -73,7 +63,6 @@ GSLPR_HEADERS= \
|
||||||
GSLPRPrintPanel.m \
|
GSLPRPrintPanel.m \
|
||||||
GSLPRPrinter.m
|
GSLPRPrinter.m
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Class files
|
# Class files
|
||||||
#
|
#
|
||||||
|
@ -85,20 +74,17 @@ GSLPR_OBJC_FILES= \
|
||||||
GSLPRPrintPanel.m \
|
GSLPRPrintPanel.m \
|
||||||
GSLPRPrinter.m
|
GSLPRPrinter.m
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# C files
|
# C files
|
||||||
#
|
#
|
||||||
#GSLPR_C_FILES =
|
#GSLPR_C_FILES =
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Languages
|
# Languages
|
||||||
#
|
#
|
||||||
#GSLPR_LANGUAGES= \
|
#GSLPR_LANGUAGES= \
|
||||||
# English
|
# English
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Localized Resource Files
|
# Localized Resource Files
|
||||||
#
|
#
|
||||||
|
@ -106,12 +92,6 @@ GSLPR_OBJC_FILES= \
|
||||||
# GSLPRPrintPanel.gorm \
|
# GSLPRPrintPanel.gorm \
|
||||||
# GSLPRPageLayout.gorm
|
# GSLPRPageLayout.gorm
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Makefiles
|
# Makefiles
|
||||||
#
|
#
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
# License along with this library; if not, write to the Free
|
# License along with this library; if not, write to the Free
|
||||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||||
|
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# If not, write to the Free Software Foundation,
|
# If not, write to the Free Software Foundation,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
# If not, write to the Free Software Foundation,
|
# If not, write to the Free Software Foundation,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
# If not, write to the Free Software Foundation,
|
# If not, write to the Free Software Foundation,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
|
||||||
|
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue