gambas-source-code/main/Makefile.am
Benoît Minisini ba19f3c1dd * Copy https://gambas.svn.sourceforge.net/svnroot/gambas/2.0 to https://gambas.svn.sourceforge.net/svnroot/gambas/gambas
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-30 16:41:49 +00:00

23 lines
894 B
Makefile

## Process this file with automake to produce Makefile.in
SUBDIRS = libltdl gbx gbc lib share
EXTRA_DIST = TODO reconf spec README mime
install-exec-local:
@if test x"$(DESTDIR)" != x; then \
echo "Installing with DESTDIR='$(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