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
35 lines
1.3 KiB
Makefile
35 lines
1.3 KiB
Makefile
EXTRA_DIST = reconf examples spec
|
|
|
|
install-exec-local:
|
|
@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
|
|
@echo "Installing the gambas examples..."
|
|
@rm -rf $(DESTDIR)$(gbdatadir)/examples
|
|
@$(INSTALL) -d $(DESTDIR)$(gbdatadir)/examples
|
|
@cp -R $(srcdir)/examples $(DESTDIR)$(gbdatadir)
|
|
@(cd $(DESTDIR)$(gbdatadir)/examples; d=`pwd`; for p in */ */*/; do cd $$d/$$p; \
|
|
if test -e .project; then \
|
|
echo "Compiling $$p..."; cd $$d/$$p; $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
|
|
fi \
|
|
done)
|
|
|
|
uninstall-local:
|
|
@rm -rf $(DESTDIR)$(gbdatadir)/examples
|
|
|
|
dist-hook:
|
|
@(cd $(distdir)/examples; \
|
|
rm -rf `find . -name ".gambas" -o -name ".lock" -o -name ".xvpics" -o -name "*~" -o -name "*.out" -o -name "*.pot" -o -name "*.gambas" -o -name "core*" -o -name ".kdbg*" -o -name ".svn"`;)
|
|
|
|
## @(cd $(distdir)/examples/examples; for p in */ */*/; do \
|
|
## if test -e $$p/.project; then \
|
|
## rm -rf $$p/core.* $$p/.gambas $$p/.xvpics $$p/*/.xvpics $$p/*/*/.xvpics $$p/*~ $$p/*/*~ $$p/.*.out $$p/*.out $$p/.lang/*.pot $$p/$$p.gambas .kdbg* .lock; \
|
|
## fi \
|
|
## done)
|
|
|