--- component.am.orig 2008-11-03 +++ component.am 2008-11-03 @@ -2,22 +2,25 @@ gblib_DATA = $(COMPONENT).component install-data-hook: - @$(INSTALL) -d $(DESTDIR)$(gbdatadir)/info + @echo; \ + $(INSTALL) -d $(DESTDIR)$(gbdatadir)/info + @if test -d $(COMPONENT); then \ - echo "Compiling the $(COMPONENT) project..."; \ ( \ + echo "Creating the information files for $(COMPONENT) component ..."; \ $(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT); \ + echo -n "Compiling the $(COMPONENT) project ... "; \ cd $(COMPONENT); \ - $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); \ + $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix) && \ $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \ rm -rf .gambas; \ $(INSTALL) $(COMPONENT).gambas $(DESTDIR)$(gblibdir); \ ) \ fi - @echo - @echo "Creating the information files for $(COMPONENT) component..." - @$(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT) - @echo + + @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 \