[CONFIGURATION]

* NEW: Remove the possible gambas part before installing a component.


git-svn-id: svn://localhost/gambas/trunk@5324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2012-11-13 10:26:42 +00:00
parent d31bbd73dd
commit 0b638bb046

View file

@ -3,6 +3,7 @@ gblib_DATA = $(COMPONENT).component
install-data-hook:
@$(INSTALL) -d $(DESTDIR)$(gbdatadir)/info
@rm -f $(DESTDIR)$(gblibdir)/$(COMPONENT).gambas; \
@if test -d $(COMPONENT) && test -e $(COMPONENT)/.project ; then \
echo; \
echo "Compiling the $(COMPONENT) project..."; \
@ -25,6 +26,7 @@ install-data-hook:
$(INSTALL) data/* $(DESTDIR)$(gbdatadir)/$(COMPONENT); \
fi
@echo "Installing the $(COMPONENT) control icons if needed...";
@rm -rf $(DESTDIR)$(gbdatadir)/control/$(COMPONENT); \
@if test -d control; then \
$(INSTALL) -d $(DESTDIR)$(gbdatadir)/control; \
$(INSTALL) -d $(DESTDIR)$(gbdatadir)/control/$(COMPONENT); \