Install gorm dirs

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17262 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2003-07-20 03:43:54 +00:00
parent 72d45dd40e
commit 4767ef4711
3 changed files with 19 additions and 2 deletions

View file

@ -10,6 +10,8 @@
* Panels/English.proj: Replace GSPageLayout.gorm and
GSPrintPanel.gorm with updated GOrm dirs. Make Options button
non-continuous.
* Panels/GNUmakefile.postamble (after-install): Install the
gorm dirs.
2003-07-19 Fred Kiefer <FredKiefer@gmx.de>

View file

@ -35,8 +35,9 @@ include ../Version
LANGUAGES = English
LOCALIZED_RESOURCE_FILES = GSPrintPanel.gorm GSPageLayout.gorm \
SpellPanel.gmodel \
LOCALIZED_RESOURCE_FILES = SpellPanel.gmodel
LOCALIZED_RESOURCE_COMPONENTS = GSPrintPanel.gorm GSPageLayout.gorm \
GSDataLinkPanel.gorm
-include GNUmakefile.preamble

View file

@ -38,6 +38,20 @@ ifneq ($(strip $(LOCALIZED_RESOURCE_FILES)),)
done; \
done;)
endif
ifneq ($(strip $(LOCALIZED_RESOURCE_COMPONENTS)),)
@(echo "Copying localized components into system..."; \
for l in $(LANGUAGES); do \
if [ ! -f $$l.lproj ]; then \
$(MKDIRS) $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
fi; \
for f in $(LOCALIZED_RESOURCE_COMPONENTS); do \
if [ -d $$l.lproj/$$f ]; then \
cp -r $$l.lproj/$$f $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj; \
rm -rf $(GNUSTEP_RESOURCES)/gnustep-gui/$$l.lproj/$$f/CVS; \
fi; \
done; \
done;)
endif
# Things to do after uninstalling
after-uninstall::