## along with Quine; 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 1999/04/28 19:58:07 mdw
-## Initial revision
-##
-
AUTOMAKE_OPTIONS = foreign
## --- What needs installing ---
quine_SOURCES = quine.c qqout.c mdwopt.c quine.h mdwopt.h
ansicquine_SOURCES = ansicquine.c
-EXTRA_DIST = qqlib.c qqout.c qqlout.c rexxquine.exec bournequine
+EXTRA_DIST = \
+ qqlib.c qqout.c qqlout.c rexxquine.exec bournequine \
+ debian/control debian/changelog debian/rules debian/copyright
CLEANFILES = xquine yquine
MAINTAINERCLEANFILES = qqout.c qqlout.c $(srcdir)/qqout.c $(srcdir)/qqlout.c
dnl along with Quine; 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.1 1999/04/28 19:58:07 mdw
-dnl Initial revision
-dnl
-
AC_INIT(quine.c)
-AM_INIT_AUTOMAKE(quine, 1.1.0)
+AM_INIT_AUTOMAKE(quine, 1.1.1)
AC_ARG_PROGRAM
AC_PROG_CC
AC_PROG_MAKE_SET
--- /dev/null
+quine (1.1.1) experimental; urgency=low
+
+ * Debianization!
+
+ -- Mark Wooding <mdw@nsict.org> Sat, 11 Sep 2004 18:40:45 +0100
--- /dev/null
+Source: quine
+Section: utils
+Priority: extra
+Maintainer: Mark Wooding <mdw@nsict.org>
+Standards-Version: 3.1.1
+
+Package: quine
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: A (rather pointless) kit for turning C programs into quines.
+ A `quine' is a program which prints its own source code. This package
+ provides a tool, `quine', which does the tedious work of making
+ arbitrary C programs into quines. It can print its own source code,
+ and dump a working source tree.
+
--- /dev/null
+PACKAGE is copyright (c) 2003 Straylight/Edgeware.
+
+PACKAGE 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.
+
+PACKAGE 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.
+
+OR!
+
+PACKAGE is copyright (c) 2003 Straylight/Edgeware
+
+PACKAGE is free software; you can redistribute it and/or modify it under
+the terms of the GNU Library General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+PACKAGE 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 Library General Public
+License for more details.
+
+You should have a copy of the GNU Library General Public License in
+/usr/share/common-licenses/LGPL-2; 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
+ 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/quine
+ install -d -m 755 debian/quine/usr/share/doc/examples
+ install -m 755 bournequine debian/quine/usr/share/doc/examples
+ install -m 644 ansicquine.c rexxquine.exec \
+ debian/quine/usr/share/doc/examples
+
+binary-indep:
+
+binary-arch: install
+ dh_testdir -a
+ dh_testroot -a
+ dh_compress -a
+ dh_installdocs -a README
+ 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
* License.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: qqlib.c,v $
- * Revision 1.2 2000/08/01 17:41:39 mdw
- * Remove unnecessary <ctype.h> header.
- *
- * Revision 1.1.1.1 1999/04/28 19:58:07 mdw
- * Initial revision
- *
- */
-
/*----- Header files ------------------------------------------------------*/
/* --- ANSI headers --- */
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: quine.c,v $
- * Revision 1.2 1999/05/19 21:11:15 mdw
- * Track gratuitous change to mdwopt interface.
- *
- * Revision 1.1.1.1 1999/04/28 19:58:07 mdw
- * Initial revision
- *
- */
-
/*----- Header files ------------------------------------------------------*/
/* --- ANSI headers --- */
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: quine.h,v $
- * Revision 1.1 1999/04/28 19:58:07 mdw
- * Initial revision
- *
- */
-
#ifndef QUINE_H
#define QUINE_H