COPYING
INSTALL
-install-sh
mdwopt.c
mdwopt.h
-mkinstalldirs
-missing
## Run `automake' on this file to generate `Makefile.in'
## -*-makefile-*-
##
-## $Id: Makefile.am,v 1.1 1998/03/16 15:21:36 mdw Exp $
+## $Id$
##
## Makefile for Bascat
##
## License along with Bascat; if not, write to the Free Software Foundation,
## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.am,v $
-## Revision 1.1 1998/03/16 15:21:36 mdw
-## Files placed under CVS control.
-##
-## Revision 1.1 1997/07/23 01:18:30 mdw
-## Initial revision
-##
-
bin_PROGRAMS = bascat
bascat_SOURCES = bascat.c mdwopt.c mdwopt.h
+
+EXTRA_DIST = debian/rules debian/changelog debian/control debian/copyright
\ No newline at end of file
/* -*-c-*-
*
- * $Id: bascat.c,v 1.5 1999/11/25 01:08:57 mdw Exp $
+ * $Id$
*
* Display BBC BASIC programs more or less anywhere
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: bascat.c,v $
- * Revision 1.5 1999/11/25 01:08:57 mdw
- * Fix decoding of line numbers.
- *
- * Revision 1.4 1999/10/28 10:42:23 mdw
- * More minor twiddling.
- *
- * Revision 1.3 1999/10/28 10:18:17 mdw
- * Minor name changes for new coding standards.
- *
- * Revision 1.2 1998/06/26 11:29:28 mdw
- * Added support for line-numbers.
- *
- * Revision 1.1 1998/03/16 15:21:37 mdw
- * Files placed under CVS control.
- *
- * Revision 1.1 1997/07/23 01:19:33 mdw
- * Initial revision
- *
- */
-
/*----- Header files ------------------------------------------------------*/
/* --- ANSI library headers --- */
dnl -*-fundamental-*-
dnl
-dnl $Id: configure.in,v 1.2 1999/10/28 10:10:39 mdw Exp $
+dnl $Id$
dnl
dnl Source for auto configuration for `Bascat'
dnl
dnl along with Bascat; if not, write to the Free Software Foundation,
dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-dnl----- Revision history ---------------------------------------------------
-dnl
-dnl $Log: configure.in,v $
-dnl Revision 1.2 1999/10/28 10:10:39 mdw
-dnl New project standards.
-dnl
-dnl Revision 1.1 1998/03/16 15:21:37 mdw
-dnl Files placed under CVS control.
-dnl
-dnl Revision 1.1 1997/07/23 01:18:47 mdw
-dnl Initial revision
-dnl
-
AC_INIT(bascat.c)
-AM_INIT_AUTOMAKE(bascat, 1.2pre2)
+AM_INIT_AUTOMAKE(bascat, 1.3)
-AC_ARG_PROGRAM
AC_PROG_CC
AC_PROG_INSTALL
-mdw_GCC_FLAGS(-pedantic -Wall -W -Wtraditional -Wpointer-arith -Wcast-align)
+mdw_GCC_FLAGS
mdw_CHECK_MANYLIBS(tgetent, termcap ncurses, [AC_DEFINE(HAVE_LIBTERMCAP, 1)])
mdw_OPT_NDEBUG
--- /dev/null
+bascat (1.3) unstable; urgency=low
+
+ * Debianization.
+
+ -- Mark Wooding <mdw@distorted.org.uk> Wed, 26 Oct 2005 11:52:56 +0100
+
--- /dev/null
+Source: bascat
+Section: otherosfs
+Priority: extra
+Maintainer: Mark Wooding <mdw@distorted.org.uk>
+Standards-Version: 3.1.1
+
+Package: bascat
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: View BBC BASIC programs
+ bascat is a program that will convert BBC BASIC files to text.
--- /dev/null
+bascat is copyright (c) 1996, 1997, 2005 Matthew Wilcox and Mark Wooding
+
+bascat is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+bascat is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have a copy of the GNU General Public License in
+/usr/share/common-licenses/GPL; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+USA.
--- /dev/null
+#! /usr/bin/make -f
+
+export DH_COMPAT = 4
+
+build:
+ rm -rf build deb-build
+ mkdir deb-build
+ cd deb-build; ../configure --prefix=/usr --with-pager=pager
+ make -C deb-build
+ touch build
+
+clean:
+ dh_clean
+ rm -rf deb-build build
+
+install: build
+ dh_clean
+ make -C deb-build install DESTDIR=`pwd`/debian/bascat
+ mkdir -p debian/bascat/usr/share/doc/bascat
+ install -m644 ChangeLog NEWS AUTHORS README \
+ debian/bascat/usr/share/doc/bascat
+
+binary-indep:
+
+binary-arch: install
+ dh_testdir -a
+ dh_testroot -a
+ dh_compress -a
+ dh_installdocs -a
+ dh_strip -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+source:
+ rm -rf deb-build/*.tar.gz deb-build/=deb=
+ make -C deb-build dist
+ mkdir deb-build/=deb=
+ cd deb-build/=deb=; tar xvfz ../*.tar.gz
+ d=`pwd`; cd ..; dpkg-source -i -i'/\.svn/' -b $$d/deb-build/=deb=/*
+ rm -rf deb-build/=deb=
+
+.PHONY: binary binary-arch binary-indep clean install source
mklinks
mkaclocal
autoconf
-automake
+automake -a
mkdir build