gambas-source-code/main/Makefile.am
Benoît Minisini 25e6253672 [CONFIGURATION]
* BUG: The default prefix is /usr in component directories too.
* NEW: Uninstall mime handler and mime icons in 'make uninstall'.

[GB.GTK]
* NEW: Replace the old ListBox control by the one in gb.gui.base.

[GB.QT4]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
* OPT: Some little optimizations in ScrollView.
* OPT: Changing the geometry of a control whose Ignore property is set does
  not trigger parent arrangement routine anymore.


git-svn-id: svn://localhost/gambas/trunk@5258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 19:21:59 +00:00

31 lines
1.1 KiB
Makefile

ACLOCAL_AMFLAGS = -I m4 --install
SUBDIRS = gbc gbx lib share
EXTRA_DIST = TODO reconf spec README mime
install-exec-local:
@rm -f $(srcdir)/../warnings.log
@if test "x$(ROOT)" != "x"; then \
echo "[Installing with ROOT=$(ROOT)]"; \
fi
@if test "x$(DESTDIR)" != "x"; then \
echo "[Installing with DESTDIR=$(DESTDIR)]"; \
ROOT=$DESTDIR; \
fi
@echo "Making runtime symbolic link"
@$(LN_S) -f gbx$(GAMBAS_VERSION) $(DESTDIR)$(bindir)/gbr$(GAMBAS_VERSION) || true
@if test x"$(XDG_UTILS)" != x; then \
echo "Registering Gambas executable mimetype"; \
$(INSTALL) -d $(DESTDIR)$(gbdatadir)/icons; \
cp -f $(srcdir)/mime/application-x-gambas3.png $(DESTDIR)$(gbdatadir)/icons; \
xdg-icon-resource install --context mimetypes --size 64 $(DESTDIR)$(gbdatadir)/icons/application-x-gambas3.png application-x-gambas3; \
xdg-mime install $(srcdir)/mime/application-x-gambas3.xml; \
fi
uninstall-local:
@rm -f $(DESTDIR)$(bindir)/gbr$(GAMBAS_VERSION)
@rm -rf $(DESTDIR)$(gblibdir)/info
@xdg-mime uninstall $(srcdir)/mime/application-x-gambas3.xml;
@xdg-icon-resource uninstall --context mimetypes --size 64 application-x-gambas3;