mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 05:32:11 +00:00
Moved targets and rules to GNUmakefile.postamble; removed prefix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9400 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
17bbf3d17e
commit
56d99ca10f
1 changed files with 1 additions and 21 deletions
|
@ -34,32 +34,12 @@ GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
|
|||
include $(GNUSTEP_MAKEFILES)/common.make
|
||||
|
||||
include ../Version
|
||||
prefix = $(GNUSTEP_INSTALLATION_DIR)
|
||||
|
||||
PANELS = ColorPanel.gmodel SavePanel.gmodel
|
||||
|
||||
before-install::
|
||||
if [ ! -d $(prefix)/Library ]; then \
|
||||
mkdir $(prefix)/Library; \
|
||||
fi
|
||||
if [ ! -d $(prefix)/Library/Model ]; then \
|
||||
mkdir $(prefix)/Library/Model; \
|
||||
fi
|
||||
for f in $(PANELS); do \
|
||||
$(INSTALL_DATA) $$f $(prefix)/Library/Model/; \
|
||||
done
|
||||
|
||||
before-uninstall::
|
||||
for f in $(PANELS); do \
|
||||
rm -f $(prefix)/Library/Model/$$f; \
|
||||
done
|
||||
rmdir $(prefix)/Library/Model
|
||||
|
||||
clean::
|
||||
|
||||
-include GNUmakefile.preamble
|
||||
-include GNUmakefile.local
|
||||
|
||||
include $(GNUSTEP_MAKEFILES)/rules.make
|
||||
|
||||
-include GNUmakefile.postamble
|
||||
include GNUmakefile.postamble
|
||||
|
|
Loading…
Reference in a new issue