c4e8abec01
* BUG: Harmonize the messages displayed when DESTDIR or ROOT is used during compilation. * NEW: Switch version number to 2.99.1 and bytecode version to 3.0.0. WARNING! ALL GAMBAS PROJECTS MUST BE RECOMPILED. [DEVELOPMENT ENVIRONMENT] * BUG: Generated Debian packages now correctly depends on gambas3-dev and not gambas2-dev. [GB.QT4.OPENGL] * NEW: Remove the GlArea.Text() method, as it may be impossible to implement inside gb.gtk.opengl. git-svn-id: svn://localhost/gambas/trunk@3673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
29 lines
1,003 B
Makefile
29 lines
1,003 B
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-gambas.png $(DESTDIR)$(gbdatadir)/icons; \
|
|
xdg-icon-resource install --context mimetypes --size 64 $(DESTDIR)$(gbdatadir)/icons/application-x-gambas.png application-x-gambas; \
|
|
xdg-mime install $(srcdir)/mime/application-x-gambas.xml; \
|
|
fi
|
|
|
|
uninstall-local:
|
|
@rm -f $(DESTDIR)$(bindir)/gbr$(GAMBAS_VERSION)
|
|
@rm -rf $(DESTDIR)$(gblibdir)/info
|