dh_auto_configure --sourcedirectory=doc -- $(CONF_FLAGS)
override_dh_auto_install:
- dh_auto_install --sourcedirectory=src
- dh_auto_install --sourcedirectory=doc -- install-html install-pdf
+ dh_auto_install --sourcedirectory=src -- debian-clean
+ dh_auto_install --sourcedirectory=doc \
+ -- install-html install-pdf debian-clean
debian/%: debian/%.in
sed -e 's|@SCMDOCDIR@|/usr/share/doc/mit-scheme-pucked|g' \
tags TAGS:
install: install-info-gz install-man install-html $(INST_TARGETS)
+ -( echo "(update-plugin-indices"; \
+ echo " \"$(PROJECT)\""; \
+ echo " \"$(DESTDIR)$(infodir)\""; \
+ echo " \"$(DESTDIR)$(libdir)/$(PROJECT)\""; \
+ echo " \"$(DESTDIR)$(docdir)\")" \
+ ) | mit-scheme-pucked --batch-mode
install-info-gz install-info: $(PROJECT).info
$(mkinstalldirs) $(DESTDIR)$(infodir)
( cd $${D} && $(MAKE) $@ ) || exit 1;\
done
+debian-clean:
+ rm -f $(DESTDIR)$(infodir)/dir*
+
$(PROJECT).info: $(PROJECT).info.in
sed -e 's|@SCMDOCDIR@|$(docdir)|g' < $< > $@
( cd $${D} && $(MAKE) $@ ) || exit 1;\
done
-.PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS
+.PHONY: all mostlyclean clean distclean maintainer-clean debian-clean tags TAGS
.PHONY: install install-man install-info install-html install-pdf install-ps
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([MIT/GNU Scheme documentation],
- [9.2.18],
+AC_INIT([MIT/GNU Scheme Pucked documentation],
+ [9.2.19],
[matt@birchwood-abbey.net],
[mit-scheme-pucked-doc])
AC_CONFIG_SRCDIR([ref-manual/scheme.texinfo])
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
+docdir = @docdir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
SUBDIRS = $(INSTALLED_SUBDIRS) 6001 win32 xdoc
INSTALLED_SUBDIRS = microcode runtime $(LIARC_BUNDLES)
+PROJECT = @PROJECT@
MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
AUXDIR_NAME = @AUXDIR_NAME@
AUXDIR = @AUXDIR@
etc/macosx/make-app.sh
echo "done" > $@
+.PHONY: debian-clean
+debian-clean:
+ rm -f $(DESTDIR)$(AUXDIR)/plugins.scm
+
compile-microcode:
(cd microcode && $(MAKE) all)
$(DESTDIR)$(AUXDIR)/.; \
else echo "$(DESTDIR)$(AUXDIR)/optiondb.scm already exists"; fi
$(INSTALL_DATA) lib/*.com $(DESTDIR)$(AUXDIR)/.
+ if ! test -e $(DESTDIR)$(AUXDIR)/plugins.scm ]; then \
+ $(INSTALL_DATA) $(top_srcdir)/etc/plugins.scm \
+ $(DESTDIR)$(AUXDIR)/.; \
+ else echo "$(DESTDIR)$(AUXDIR)/plugins.scm already exists"; fi
+ $(INSTALL_DATA) lib/*.com $(DESTDIR)$(AUXDIR)/.
+ ( echo "(update-plugin-indices"; \
+ echo " \"$(PROJECT)\""; \
+ echo " \"$(DESTDIR)$(infodir)\""; \
+ echo " \"$(DESTDIR)$(AUXDIR)\""; \
+ echo " \"$(DESTDIR)$(docdir)\")" \
+ ) | $(top_srcdir)/microcode/scheme --batch-mode --library lib
.PHONY: default-target all all-native all-liarc macosx-app
.PHONY: compile-microcode build-bands
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([MIT/GNU Scheme], [9.2], [bug-mit-scheme@gnu.org], [mit-scheme])
+AC_INIT([MIT/GNU Scheme Pucked],
+ [9.2.19],
+ [matt@birchwood-abbey.net],
+ [mit-scheme-pucked])
AC_CONFIG_SRCDIR([microcode/boot.c])
AC_CONFIG_AUX_DIR([microcode])
# Would set m4 macro dir, but only works if automake or libtools in use.
INSTALL_LIARC_BUNDLES=
;;
esac
-AUXDIR_NAME=mit-scheme-pucked
+
+PROJECT=${PACKAGE_TARNAME}
+AUXDIR_NAME=${PACKAGE_TARNAME}
AUXDIR='$(libdir)'/${AUXDIR_NAME}
# Please keep the following messages synchronized with the messages in
AC_SUBST([IF_NOT_DEBUG_TOOLCHAIN])
AC_SUBST([IF_SVM])
AC_SUBST([TOOL_TOOLCHAIN_HEAP])
+AC_SUBST([PROJECT])
AC_PROG_INSTALL
AC_PROG_LN_S