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:
Adam Fedor 1998-11-30 15:24:11 +00:00
parent 19f88d930b
commit 9c57bfe34b

View file

@ -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