gambas-source-code/component.am
Benoît Minisini e8e807ee2b [CONFIGURATION]
* BUG: Fix the gb.qt4 configure.ac file so that it works with stupid 
  pkg-config configuration files.

[DEVELOPMENT ENVIRONMENT]
* NEW: An option to define the terminal emulator used by the IDE.
* NEW: Some unused icons were removed from the project.
* BUG: The project tree does not steal the focus anymore after a project 
  compilation.

[GB.NET.SMTP]
* BUG: Fix the UTF-8 encoding of mail subjects having a '?' character 
  inside.

[GB.QT4]
* BUG: Fix the global event filter so that setting Application.Tooltip to 
  False does not interfer with the global key event handler.


git-svn-id: svn://localhost/gambas/trunk@2174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-26 12:38:20 +00:00

50 lines
1.9 KiB
Text

dist_gblib_DATA = $(COMPONENT).component
gblib_DATA = $(COMPONENT).component
install-data-hook:
@$(INSTALL) -d $(DESTDIR)$(gbdatadir)/info
@if test -d $(COMPONENT) && test -e $(COMPONENT)/.project ; then \
echo; \
echo "Compiling the $(COMPONENT) project..."; \
( \
$(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT); \
cd $(COMPONENT); \
$(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); \
$(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
rm -rf .gambas; \
$(INSTALL) $(COMPONENT).gambas $(DESTDIR)$(gblibdir); \
) \
fi
@echo "Installing the $(COMPONENT) control icons if needed...";
@if test -d control; then \
$(INSTALL) -d $(DESTDIR)$(gbdatadir)/control; \
$(INSTALL) -d $(DESTDIR)$(gbdatadir)/control/$(COMPONENT); \
$(INSTALL) control/*.png $(DESTDIR)$(gbdatadir)/control/$(COMPONENT); \
fi
@if test -d $(COMPONENT)/.hidden/control; then \
$(INSTALL) -d $(DESTDIR)$(gbdatadir)/control; \
$(INSTALL) -d $(DESTDIR)$(gbdatadir)/control/$(COMPONENT); \
$(INSTALL) $(COMPONENT)/.hidden/control/*.png $(DESTDIR)$(gbdatadir)/control/$(COMPONENT); \
fi
@echo "Creating the information files for $(COMPONENT) component..."
@$(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT)
@echo
uninstall-hook:
@if test -d $(COMPONENT); then \
rm -f $(DESTDIR)$(gblibdir)/$(COMPONENT).gambas; \
fi
@rm -rf $(DESTDIR)$(gblibdir)$(COMPONENT).component
@rm -rf $(DESTDIR)$(gbdatadir)/info/$(COMPONENT).info
@rm -rf $(DESTDIR)$(gbdatadir)/info/$(COMPONENT).list
@rm -rf $(DESTDIR)$(gbdatadir)/control/$(COMPONENT);
dist-hook:
@if test -d $(COMPONENT); then \
( \
cp -pR $(COMPONENT) $(distdir)/$(COMPONENT); \
cd $(distdir)/$(COMPONENT); \
rm -rf .gambas .xvpics */.xvpics */*/.xvpics *~ */*~ */*/*~ *.out .*.out .lang/*.pot *.gambas core.* .svn */.svn */*/.svn */*/*/.svn; \
) \
fi
@rm -f $(distdir)/moc_*.cpp