summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--continue.h3
-rw-r--r--debian/changelog350
-rw-r--r--debian/control15
-rw-r--r--debian/copyright16
-rw-r--r--debian/doc-base19
-rw-r--r--debian/postinst19
-rw-r--r--debian/prerm16
-rw-r--r--debian/require.scm.debian2
-rwxr-xr-xdebian/rules168
9 files changed, 608 insertions, 0 deletions
diff --git a/continue.h b/continue.h
index 040b4b5..2b412cd 100644
--- a/continue.h
+++ b/continue.h
@@ -196,3 +196,6 @@ void throw_to_continuation P((CONTINUATION *cont, long val,
#ifdef _UNICOS
# define STACK_GROWS_UP
#endif
+#ifdef __hppa__
+# define STACK_GROWS_UP
+#endif
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e66e016
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,350 @@
+scm (5e2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Change to continue.h from version 5e1-2 repeated here.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Wed, 26 Apr 2006 23:01:39 -0700
+
+scm (5e1-5) unstable; urgency=low
+
+ * debian/control (scm): Add ppc64 to Architecture list.
+ * scmfig.h (__powerpc64__, __x86_64__): Define SHORT_INT and CDR_DOUBLES.
+ (Closes: #353173, #251765).
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Wed, 22 Feb 2006 15:19:31 -0800
+
+scm (5e1-4) unstable; urgency=low
+
+ * debian/control (Build-Depends): Actually *make* the preceding change
+ rather than simply documenting it. (Closes: #347027).
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Mon, 9 Jan 2006 09:54:52 -0800
+
+scm (5e1-3) unstable; urgency=low
+
+ * debian/control (Build-Depends): Depend on libx11-dev instead of xlibs-dev.
+ (Closes: #347027).
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Mon, 9 Jan 2006 09:18:22 -0800
+
+scm (5e1-2) unstable; urgency=low
+
+ * debian/control (Architecture): Provide explicit list: alpha amd64 arm
+ hppa i386 i386-hurd m68k mips mipsel powerpc s390 sparc. This is all
+ the Debian archs except for ia64, which is officially unspported by
+ upstream.
+
+ * continue.h: When __hppa__ is defined, set STACK_GROWS_UP.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Fri, 28 Oct 2005 17:24:42 -0700
+
+scm (5e1-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #335970)
+ * debian/rules (SCM_OPTIONS): Remove -F turtlegr; the file supporting
+ this option seems to have gone by the wayside.
+ * debian/rules (binary-arch): Don't try to install grtest.scm; it's gone
+ now.
+
+ * debian/rules (build-stamp): Use tee to capture output of ./build so
+ that we can capture a copy of the file in the build log.
+
+ * scm.1: Fix spelling errors in manual page:
+ verobse -> verbose;
+ qoutes -> quotes;
+ aguments -> arguments;
+ neccessary -> necessary;
+ preceeds -> precedes.
+ syncronization -> synchronization.
+ (Closes: #300131)
+
+ * debian/postinst, debian/prerm: Assume that install-docs is in the
+ standard place, and test for it there with test -x. (Closes: #292996)
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Thu, 27 Oct 2005 12:00:49 -0700
+
+scm (5d9-5) unstable; urgency=low
+
+ * New maintainer. Adopted with permission of previous maintainer.
+
+ * repl.c (s_read): Remove static qualifier on declaration.
+ * scmfig.h: Use SHORT_INT and CDR_DOUBLES on __powerpc64__ and
+ __x86_64__ just as with __ia64.
+ (Closes: #295074, #251765)
+
+ * debian/control (Build-Depends): Use libreadline5-dev in place of
+ libreadline4-dev. (Closes: #326297)
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Wed, 26 Oct 2005 19:31:02 -0700
+
+scm (5d9-4.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High-urgency upload for sarge-targetted RC bugfix.
+ * Revert upstream "CAUTIOUS" define, which causes the scm build to
+ fail its test suite on alpha (and, it appears, powerpc as well).
+ Closes: #245810.
+
+ -- Steve Langasek <vorlon@debian.org> Tue, 7 Dec 2004 23:23:48 -0800
+
+scm (5d9-4) unstable; urgency=low
+
+ * Apply patch from 144062 to fix hppa build (Closes: #144062)
+ * Change scm.1 section from Jan 4 200 to 1. (lintian)
+
+ -- James LewisMoss <dres@debian.org> Thu, 6 May 2004 14:24:32 -0400
+
+scm (5d9-3) unstable; urgency=low
+
+ * Properly clean up info files.
+ * Make and install Xlibscm.info.
+
+ -- James LewisMoss <dres@debian.org> Sat, 3 Apr 2004 15:44:38 -0500
+
+scm (5d9-2) unstable; urgency=low
+
+ * Fix path problem in slibcat. Hack at mklibcat.scm. (Closes: #241510)
+
+ -- James LewisMoss <dres@debian.org> Sat, 3 Apr 2004 15:35:52 -0500
+
+scm (5d9-1) unstable; urgency=low
+
+ * New upstream release
+ * Merge NMU sparc changes (Closes: #191171, #191356)
+ * SHORT_INT is defined for ia64 upstream (Closes: #141928)
+ * Scheme imps now grouped in info file (has been for a while)
+ (Closes: #115452)
+
+ -- James LewisMoss <dres@debian.org> Sun, 14 Mar 2004 11:44:51 -0500
+
+scm (5d6-3.1) unstable; urgency=low
+
+ * NMU with patch from James Troup, to fix FTBFS on sparc. Closes: #191171
+
+ -- Joey Hess <joeyh@debian.org> Tue, 29 Apr 2003 19:56:51 -0400
+
+scm (5d6-3) unstable; urgency=low
+
+ * Add build depend on xlibs-dev (Closes: #148020)
+
+ -- James LewisMoss <dres@debian.org> Fri, 24 May 2002 15:56:12 -0400
+
+scm (5d6-2) unstable; urgency=low
+
+ * Remove libregexx-dev from build-depends.
+ * Change build to use ./scmlit rather than scmlit (should fix some build
+ problems) (looks like alpha is mostly building)
+ * New release (Closes: #140175)
+ * Built with turtlegraphics last time (Closes: #58515)
+
+ -- James LewisMoss <dres@debian.org> Thu, 23 May 2002 13:41:02 -0400
+
+scm (5d6-1) unstable; urgency=low
+
+ * New upstream.
+ * Add xlib and turtlegr to requested list of features. (closes
+ some bug)
+ * Make clean actually clean most everything up.
+ * Remove hacks renaming build to something else and just set build as a
+ .PHONY target in debian/rules.
+ * Add the turtlegr code.
+
+ -- James LewisMoss <dres@debian.org> Fri, 17 May 2002 13:27:00 -0400
+
+scm (5d5-1) unstable; urgency=low
+
+ * New upstream
+ * Has fixes for 64 bit archs. May fix alpha compile problem. Does fix
+ (Closes: #140175)
+ * Take out -O2 arg.
+
+ -- James LewisMoss <dres@debian.org> Sat, 6 Apr 2002 17:46:22 -0500
+
+scm (5d4-3) unstable; urgency=low
+
+ * Don't link with regexx, but just use libc6's regular expression
+ functions.
+ * Define (terms) to output /usr/share/common-licenses/GPL (Closes:
+ #119321)
+
+ -- James LewisMoss <dres@debian.org> Wed, 12 Dec 2001 16:27:02 -0500
+
+scm (5d4-2) unstable; urgency=low
+
+ * Add texinfo to build depends (Closes: #107011)
+
+ -- James LewisMoss <dres@debian.org> Sun, 29 Jul 2001 22:16:35 -0400
+
+scm (5d4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Move install-info --remove to prerm.
+
+ -- James LewisMoss <dres@debian.org> Tue, 22 May 2001 01:35:50 -0400
+
+scm (5d3-5) unstable; urgency=low
+
+ * Move scm info files to section "The Algorithmic Language Scheme" to
+ match up with guile.
+
+ -- James LewisMoss <dres@debian.org> Mon, 11 Dec 2000 03:49:34 -0500
+
+scm (5d3-4) unstable; urgency=low
+
+ * Fix build depends (Closes: #76691)
+
+ -- James LewisMoss <dres@debian.org> Sat, 11 Nov 2000 09:55:07 -0500
+
+scm (5d3-3) unstable; urgency=low
+
+ * Fix path in scm dhelp file.
+
+ -- James LewisMoss <dres@debian.org> Fri, 27 Oct 2000 15:37:47 -0400
+
+scm (5d3-2) unstable; urgency=low
+
+ * Actually put the header files in the package. Oops.
+
+ -- James LewisMoss <dres@debian.org> Thu, 26 Oct 2000 21:52:47 -0400
+
+scm (5d3-1) unstable; urgency=low
+
+ * New upstream. (Closes: #74761)
+ * Make (terms) use new license location.
+ * Make use libregexx rather than librx.
+ * Fix build depends for above.
+ * Using new regex lib seems to fix crash (Closes: #66787)
+ * Consider adding scm-dev package with headers, but instead just add the
+ headers to the scm package. (Closes: #70787)
+ * Add doc-base support.
+
+ -- James LewisMoss <dres@debian.org> Sun, 22 Oct 2000 22:29:41 -0400
+
+scm (5d2-3) unstable frozen; urgency=low
+
+ * Fix libncurses4-dev -> libncurses5-dev build depend (Closes: #58435)
+ * Fix libreadline2-dev -> libreadline4-dev build depend.
+ * Fix license location in copyright file (lintian warning)
+ * Add tetex-bin as a build depend (needs makeinfo) (Closes: #53197)
+ * Add -isp option to dpkg-gencontrol (lintian error)
+ * Move scm to section interpreters.
+
+ -- James LewisMoss <dres@debian.org> Sun, 12 Mar 2000 09:04:17 -0500
+
+scm (5d2-2) unstable; urgency=low
+
+ * Apply patch from upstream for bug in eval.c. (Picked up from
+ comp.lang.scheme)
+ * Add Build-Depends on slib, librx1g-dev, libncurses4-dev, libreadlineg2-dev.
+ * Up standards version.
+ * Correct description: this is an R5RS implementation now
+ * Make sure no optimizations are done on m68k. (Closes: #52434)
+
+ -- James LewisMoss <dres@debian.org> Thu, 16 Dec 1999 23:53:15 -0500
+
+scm (5d2-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- James LewisMoss <dres@debian.org> Mon, 6 Dec 1999 19:30:02 -0500
+
+scm (5d1-2) unstable; urgency=low
+
+ * Remove TAGS on clean (cut the diff back down to reasonable size).
+
+ -- James LewisMoss <dres@debian.org> Sat, 13 Nov 1999 14:10:10 -0500
+
+scm (5d1-1) unstable; urgency=low
+
+ * New upstream.
+ * move stuff to /usr/share.
+
+ -- James LewisMoss <dres@debian.org> Sat, 13 Nov 1999 13:26:46 -0500
+
+scm (5d0-3) unstable; urgency=low
+
+ * Change scmlit call to ./scmlit call (missed one) (Fixes bugs #37455
+ and #35545)
+ * Change man file permissions to 644 (fixes lintian warning)
+
+ -- James LewisMoss <dres@debian.org> Wed, 12 May 1999 22:39:54 -0400
+
+scm (5d0-2) unstable; urgency=low
+
+ * Removed call to add_final in init_crs. lendwin doesn't do anything
+ and scm was crashing when quit everytime in final_scm.
+ * Changed copyright to reflect new source.
+
+ -- James LewisMoss <dres@debian.org> Thu, 11 Mar 1999 22:13:19 -0500
+
+scm (5d0-1) unstable; urgency=low
+
+ * New upstream.
+ * Changed (terms) to access "/usr/doc/copyright/GPL".
+ * Changed regex to use -lrx
+
+ -- James LewisMoss <dres@debian.org> Sun, 7 Mar 1999 12:39:16 -0500
+
+scm (5c3-6) unstable; urgency=low
+
+ * New maintainer.
+
+ -- James LewisMoss <dres@debian.org> Fri, 26 Feb 1999 00:45:30 -0500
+
+scm (5c3-5) frozen unstable; urgency=low
+
+ * debian/rules chmod +x's bld.scm. Fixes #30521.
+
+ -- David N. Welton <davidw@efn.org> Fri, 11 Dec 1998 20:21:49 -0800
+
+scm (5c3-4) frozen unstable; urgency=low
+
+ * Made bld.scm executable. Fixes #29578.
+
+ -- David N. Welton <davidw@efn.org> Mon, 30 Nov 1998 20:57:12 -0800
+
+scm (5c3-3) frozen unstable; urgency=low
+
+ * -nw
+ * Fixes #16762.
+ * Fixes #18163.
+ * Fixes #18164.
+ * Fixes #23743.
+ * Fixes #24098.
+ * Fixes #24099.
+ * Fixes #24547.
+
+ -- David N. Welton <davidw@efn.org> Mon, 9 Nov 1998 21:41:29 -0800
+
+scm (5c3-2) frozen unstable; urgency=low
+
+ * Re-uploading for slink freeze.
+
+ -- David N. Welton <davidw@efn.org> Mon, 2 Nov 1998 21:06:01 -0800
+
+scm (5c3-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- David N. Welton <davidw@efn.org> Thu, 29 Oct 1998 21:37:49 -0800
+
+scm (5b3-1) unstable; urgency=low
+
+ * New maintainer
+ * New version
+ * libc6
+
+ -- Rob Browning <rlb@cs.utexas.edu> Fri, 12 Dec 1997 17:29:42 -0600
+
+scm (4e6-2) unstable; urgency=low
+
+ * Recompiled to use regex0.
+
+ -- Karl Sackett <krs@debian.org> Wed, 18 Dec 1996 13:27:20 -0600
+
+scm (4e6-1) unstable; urgency=low
+
+ * First Debian release.
+ * Makefile.in: scm compiles with regex.
+
+ -- Karl Sackett <krs@debian.org> Fri, 13 Dec 1996 08:55:23 -0600
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f414ef9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@
+Source: scm
+Section: interpreters
+Priority: optional
+Maintainer: Thomas Bushnell, BSG <tb@debian.org>
+Standards-Version: 3.1.1
+Build-Depends: slib (>> 3a1), libncurses5-dev, libreadline5-dev, texi2html, texinfo, libx11-dev
+
+Package: scm
+Architecture: alpha amd64 arm hppa i386 i386-hurd m68k mips mipsel powerpc ppc64 s390 sparc
+Section: interpreters
+Priority: optional
+Depends: slib, ${shlibs:Depends}
+Description: A Scheme language interpreter
+ Scm conforms to Revised^5 Report on the Algorithmic Language Scheme and
+ the IEEE P1178 specification.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a9a786e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+This is the Debian GNU/Linux prepackaged version of scm.
+
+This package was put together by Karl Sackett <krs@debian.org>, and
+upgraded by James LewisMoss <dres@debian.org> from sources obtained
+from:
+
+ ftp://swissnet.ai.mit.edu/ftpdir/scm/scm5d9.tar.gz
+
+For more information see:
+
+ http://www-swiss.ai.mit.edu/~jaffer/SCM
+
+License:
+
+scm is distributed under the GNU General Public License. See
+/usr/share/common-licenses/GPL for details.
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..1e9e5f3
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,19 @@
+Document: scm
+Title: SCM: scheme interpreter
+Author: Aubrey Jaffer
+Abstract: This manual describes the scheme interpreter scm.
+Section: Apps/Programming
+
+Format: info
+Files: /usr/share/info/scm.info
+
+Format: info
+Files: /usr/share/info/Xlibscm.info
+
+Format: HTML
+Index: /usr/share/doc/scm/scm.html
+Files: /usr/share/doc/scm/scm.html
+
+Format: HTML
+Index: /usr/share/doc/scm/Xlibscm.html
+Files: /usr/share/doc/scm/Xlibscm.html
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..5ce83d5
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -e
+
+install-info --quiet --section "The Algorithmic Language Scheme" \
+ "The Algorithmic Language Scheme" \
+ --description="A Scheme language interpreter" \
+ /usr/share/info/scm.info.gz
+
+install-info --quiet --section "The Algorithmic Language Scheme" \
+ "The Algorithmic Language Scheme" \
+ --description="SCM Language X Interface" \
+ /usr/share/info/Xlibscm.info.gz
+
+# doc base support
+if [ "$1" = configure ]; then
+ if test -x /usr/sbin/install-docs >/dev/null 2>&1; then
+ /usr/sbin/install-docs -i /usr/share/doc-base/scm
+ fi
+fi
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..dbc91e8
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/scm ]; then
+ rm -f /usr/doc/scm
+fi
+
+# doc base support
+if [ "$1" = remove -o "$1" = upgrade ]; then
+ if test -x /usr/sbin/install-docs >/dev/null 2>&1; then
+ /usr/sbin/install-docs -r scm
+ fi
+fi
+
+install-info --quiet --remove /usr/share/info/scm.info.gz
diff --git a/debian/require.scm.debian b/debian/require.scm.debian
new file mode 100644
index 0000000..06e43e6
--- /dev/null
+++ b/debian/require.scm.debian
@@ -0,0 +1,2 @@
+(define (library-vicinity) "/usr/share/slib/")
+(load (in-vicinity (library-vicinity) "require"))
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5049713
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,168 @@
+#! /usr/bin/make -f
+# -*-Makefile-*-
+
+CC =gcc
+CFLAGS = -g -Wall
+LDFLAGS =
+
+SHELL =/bin/sh
+srcdir =.
+
+INSTALL =/usr/bin/install
+INSTALL_DIR =$(INSTALL) -d -m 755 -o root -g root
+INSTALL_PROGRAM =$(INSTALL) -m 755 -o root -g root
+INSTALL_DATA =$(INSTALL) -m 644 -o root -g root
+INSTALL_MAN =$(INSTALL) -m 644 -o root -g root
+
+ifeq ($(DEB_BUILD_ARCH), m68k)
+COMPILER_OPTIONS=
+else
+COMPILER_OPTIONS=
+endif
+
+SCM_OPTIONS = -p linux \
+ --compiler-options="$(COMPILER_OPTIONS)" \
+ -F cautious \
+ -F bignums \
+ -F arrays \
+ -F array-for-each \
+ -F inexact \
+ -F record \
+ -F compiled-closure \
+ -F generalized-c-arguments \
+ -F tick-interrupts \
+ -F i/o-extensions \
+ -F edit-line \
+ -F regex \
+ -F socket \
+ -F posix \
+ -F unix \
+ -F curses \
+ -F dynamic-linking \
+ -F xlib \
+ -F dump \
+ -F macro
+
+# -F dump
+# -F turtlegr
+
+# -F heap-can-shrink \
+
+#SCHEME_LIBRARY_PATH=../slib-3a1/
+#export SCHEME_LIBRARY_PATH
+NON_LIB_FILES = 'bench.scm|build.scm|example.scm|r4rstest.scm|pi.scm|grtest.scm'
+
+#test: stamp-configure
+# $(checkdir)
+# make checklit
+
+build: build-stamp
+build-stamp:
+ chmod +x build
+ $(checkdir)
+ cp debian/require.scm.debian require.scm
+ifeq ($(DEB_BUILD_ARCH), m68k)
+ ${MAKE} scmlit CFLAGS="-g -Wall"
+else
+ ${MAKE} scmlit
+endif
+ test -e /usr/share/slib || \
+ (echo "Must have slib installed for compile" && exit 1)
+ ./build ${SCM_OPTIONS} | tee debian/bld
+ chmod ug+x debian/bld
+ debian/bld
+ make scm.info
+ make Xlibscm.info
+ texi2html -monolithic scm.texi
+ texi2html -monolithic Xlibscm.texi
+ touch build-stamp
+
+clean:
+ $(checkdir)
+ -rm -f scm.info* scm.html tmp1 tmp2 scmflags.h scmlit
+ -rm -f Xlibscm.info*
+ -rm -f features.txi platform.txi
+ -rm -f *.info
+ -rm require.scm scm
+ make distclean
+ -rm -f srcdir.mk
+ -rm -f debian/bld
+ -rm -rf *~ debian/*~ debian/tmp* debian/files debian/substvars
+ -rm -f build-stamp
+
+binary-indep: checkroot
+ $(checkdir)
+
+binary-arch: checkroot build
+ $(checkdir)
+ -rm -rf debian/tmp*
+
+# debian/tmp
+ $(INSTALL_DIR) debian/tmp
+ $(INSTALL_DIR) debian/tmp/DEBIAN
+ $(INSTALL_PROGRAM) debian/postinst debian/tmp/DEBIAN
+ $(INSTALL_PROGRAM) debian/prerm debian/tmp/DEBIAN
+
+# binaries
+ $(INSTALL_DIR) debian/tmp/usr/bin
+ $(INSTALL_PROGRAM) -s scm debian/tmp/usr/bin
+
+# library
+ $(INSTALL_DIR) debian/tmp/usr/lib/scm
+ $(INSTALL_DATA) `ls *.scm | egrep -v ${NON_LIB_FILES}` debian/tmp/usr/lib/scm
+ $(INSTALL_DATA) slibcat debian/tmp/usr/lib/scm
+
+# headers
+ $(INSTALL_DIR) debian/tmp/usr/include/scm
+ $(INSTALL_DATA) *.h debian/tmp/usr/include/scm
+
+# man pages
+ $(INSTALL_DIR) debian/tmp/usr/share/man/man1
+ $(INSTALL_MAN) scm.1 debian/tmp/usr/share/man/man1
+ gzip -9vr debian/tmp/usr/share/man || true
+
+# documentation
+ $(INSTALL_DIR) debian/tmp/usr/share/doc/scm
+ $(INSTALL_DATA) debian/changelog debian/tmp/usr/share/doc/scm/changelog.Debian
+ $(INSTALL_DATA) ChangeLog debian/tmp/usr/share/doc/scm/changelog
+ $(INSTALL_DATA) QUICKREF debian/tmp/usr/share/doc/scm
+ $(INSTALL_DATA) README debian/tmp/usr/share/doc/scm
+ gzip -9v debian/tmp/usr/share/doc/scm/*
+ $(INSTALL_DATA) scm.html debian/tmp/usr/share/doc/scm
+ $(INSTALL_DATA) Xlibscm.html debian/tmp/usr/share/doc/scm
+ $(INSTALL_DATA) debian/copyright debian/tmp/usr/share/doc/scm
+
+ $(INSTALL_DIR) debian/tmp/usr/share/doc-base
+ $(INSTALL_DATA) debian/doc-base debian/tmp/usr/share/doc-base/scm
+
+# examples
+ $(INSTALL_DIR) debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) r4rstest.scm debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) example.scm debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) pi.scm debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) pi.c debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) bench.scm debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) split.scm debian/tmp/usr/share/doc/scm/examples
+# $(INSTALL_DATA) grtest.scm debian/tmp/usr/share/doc/scm/examples
+
+# info pages
+ $(INSTALL_DIR) debian/tmp/usr/share/info
+ $(INSTALL_DATA) scm.info* debian/tmp/usr/share/info
+ $(INSTALL_DATA) Xlibscm.info* debian/tmp/usr/share/info
+ gzip -9 debian/tmp/usr/share/info/*
+
+ dpkg-shlibdeps scm
+ dpkg-gencontrol -isp
+ dpkg --build debian/tmp ..
+
+define checkdir
+ test -f scm.h -a -f debian/rules
+endef
+
+binary: binary-indep binary-arch
+
+checkroot:
+ $(checkdir)
+ test root = "`whoami`"
+
+.PHONY: build clean binary binary-arch binary-indep