mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:10:48 +00:00
Use normal install rules
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3357 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
19f88d930b
commit
9c57bfe34b
1 changed files with 5 additions and 11 deletions
|
@ -32,17 +32,11 @@ GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles
|
|||
|
||||
include $(GNUSTEP_MAKEFILES)/common.make
|
||||
|
||||
prefix = $(GNUSTEP_INSTALLATION_DIR)
|
||||
INSTALL = install -c
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
prefix = $(GNUSTEP_INSTALLATION_DIR)
|
||||
|
||||
PANELS = SavePanel.gmodel
|
||||
PANELS = SavePanel.gmodel
|
||||
|
||||
all::
|
||||
@
|
||||
|
||||
install:: all
|
||||
before-install::
|
||||
if [ ! -e $(prefix)/Library ]; then \
|
||||
mkdir $(prefix)/Library; \
|
||||
fi
|
||||
|
@ -53,7 +47,7 @@ install:: all
|
|||
$(INSTALL_DATA) $$f $(prefix)/Library/Model/; \
|
||||
done
|
||||
|
||||
uninstall::
|
||||
before-uninstall::
|
||||
for f in $(PANELS); do \
|
||||
rm -f $(prefix)/Library/Model/$$f; \
|
||||
done
|
||||
|
@ -63,6 +57,6 @@ clean::
|
|||
|
||||
-include GNUmakefile.preamble
|
||||
|
||||
#include $(GNUSTEP_MAKEFILES)/aggregate.make
|
||||
include $(GNUSTEP_MAKEFILES)/rules.make
|
||||
|
||||
-include GNUmakefile.postamble
|
||||
|
|
Loading…
Reference in a new issue