diff options
Diffstat (limited to 'dev-util/gambas/files')
-rw-r--r-- | dev-util/gambas/files/Makefile.am-0.94 | 42 | ||||
-rw-r--r-- | dev-util/gambas/files/digest-gambas-0.94 | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/gambas/files/Makefile.am-0.94 b/dev-util/gambas/files/Makefile.am-0.94 new file mode 100644 index 000000000000..2c84c2c6005d --- /dev/null +++ b/dev-util/gambas/files/Makefile.am-0.94 @@ -0,0 +1,42 @@ +SUBDIRS = libltdl src +EXTRA_DIST = TODO reconf app examples help README README.REDHAT README.DEBIAN +##AUTOMAKE_OPTIONS = dist-bzip2 + +install-exec-local: + @echo + @echo "Creating the library info files..." + @$(INSTALL) -d $(pkgdatadir)/info + @$(bindir)/gbi -a -p + @rm -f $(pkglibdir)/lib.gb.la + @rm -f $(pkglibdir)/lib.gb.so* + + @echo + @echo "Installing the development environment..." + @(cd $(srcdir)/app; d=`pwd`; for p in *; do echo "Compiling $$p..."; cd $$d/$$p; \ + gbc -ag; gba; rm -rf .gambas; $(INSTALL) $$p $(bindir); done) + + @echo + @echo "Installing the gambas help files..." + @$(INSTALL) -d $(pkgdatadir)/help + @rm -rf $(pkgdatadir)/help + @cp -R $(srcdir)/help $(pkgdatadir) + + @echo + @echo "Installing the gambas examples..." + @rm -rf $(pkgdatadir)/examples + @$(INSTALL) -d $(pkgdatadir)/examples + @cp -R $(srcdir)/examples $(pkgdatadir) + @(cd $(pkgdatadir)/examples; d=`pwd`; for p in */ */*/; do cd $$d/$$p; \ + if test -e .project; then \ + echo "Compiling $$p..."; cd $$d/$$p; gbc -ag; gba; \ + fi \ + done) + +dist-hook: + @(cd $(distdir)/app; for p in *; do rm -rf $$p/.gambas $$p/.xvpics $$p/*/.xvpics $$p/*/*/.xvpics $$p/*~ $$p/*/*~ $$p/*/*/*~ $$p/.*.out $$p/*.out $$p/.lang/*.pot $$p/$$p; done) + @(cd $(distdir)/examples; for p in */ */*/; do \ + if test -e $$p/.project; then \ + rm -rf $$p/.gambas $$p/.xvpics $$p/*/.xvpics $$p/*/*/.xvpics $$p/*~ $$p/*/*~ $$p/.*.out $$p/*.out $$p/.lang/*.pot $$p/$$p; \ + fi \ + done) + diff --git a/dev-util/gambas/files/digest-gambas-0.94 b/dev-util/gambas/files/digest-gambas-0.94 new file mode 100644 index 000000000000..3444423deeed --- /dev/null +++ b/dev-util/gambas/files/digest-gambas-0.94 @@ -0,0 +1 @@ +MD5 538f603bd7561c4a078393002cd3c47d gambas-0.94.tar.bz2 3692414 |