gambas-source-code/comp/Makefile.am
Benoît Minisini d3ea790600 [EXAMPLES]
* BUG: Fix PdfViewer example as the PdfDocument.Picture property does not 
  exist anymore.

[INTERPRETER]
* BUG: MOD works again with Long values.

[GB.CAIRO]
* BUG: Fix CairoMatrix.Translate() declaration.
* BUG: Correctly release device and pattern at Cairo.End().
* BUG: Automatically call Cairo.End() as many time as needed at program 
  exit.


git-svn-id: svn://localhost/gambas/trunk@1849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-02-02 21:16:58 +00:00

49 lines
1.7 KiB
Makefile

## Process this file with automake to produce Makefile.in
EXTRA_DIST = reconf src spec
##AUTOMAKE_OPTIONS = dist-bzip2
install-exec-local:
@if test "x$(ROOT)" != "x"; then \
echo "Installing with ROOT=$(ROOT)"; \
echo; \
fi
@if test "x$(DESTDIR)" != "x"; then \
echo "Installing with DESTDIR=$(DESTDIR)"; \
echo; \
ROOT=$DESTDIR; \
fi
@echo
@echo "Running the informer again because of dependencies between information files"
@$(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix)
@echo "Installing the components..."
@(cd $(srcdir)/src; d=`pwd`; for p in `cat order`; do \
echo "Compiling $$p..."; \
cd $$d/$$p; \
$(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); \
$(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
rm -rf .gambas; \
echo "Installing $$p..."; \
$(INSTALL) $$p.gambas $(DESTDIR)$(gblibdir); \
$(INSTALL) .component $(DESTDIR)$(gblibdir)/$$p.component; \
chmod a-x $(DESTDIR)$(gblibdir)/$$p.component; \
$(INSTALL) .info $(DESTDIR)$(gbdatadir)/info/$$p.info; \
chmod a-x $(DESTDIR)$(gbdatadir)/info/$$p.info; \
$(INSTALL) .list $(DESTDIR)$(gbdatadir)/info/$$p.list; \
chmod a-x $(DESTDIR)$(gbdatadir)/info/$$p.list; \
done; true)
uninstall-local:
@(cd $(srcdir)/src; for p in *; do \
rm -f $(DESTDIR)$(gblibdir)/$$p.gambas; \
rm -f $(DESTDIR)$(gblibdir)/$$p.component; \
rm -f $(DESTDIR)$(gbdatadir)/info/$$p.info; \
rm -f $(DESTDIR)$(gbdatadir)/info/$$p.list; \
done)
dist-hook:
@(cd $(distdir)/src; 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"`;)