--- intercal-0.29.orig/debian/copyright
+++ intercal-0.29/debian/copyright
@@ -0,0 +1,27 @@
+This package was debianized by Mark W. Eichin <eichin@kitten.gen.ma.us> and is
+now maintained by Joey Hess <joeyh@debian.org>
+
+Its web site is http://intercal.freeshell.org/
+
+C-INTERCAL is now distributed under the General Public License,
+except for the C skeleton file which is explicitly *not* GPLed
+in order to avoid the (possibly mythical) "license virus" effect.
+
+    Copyright (C) 1996 Eric S. Raymond 
+    Copyright (C) 2006 Alex Smith 
+
+    This program 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.
+
+    This program 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.
+
+See the file /usr/share/common-licenses/GPL for details on the General
+Public License.
+
+The skeleton file has this copyright:
+/* This code is explicitly *not* GPLed.  Use, abuse, and redistribute freely */
--- intercal-0.29.orig/debian/watch
+++ intercal-0.29/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="dversionmangle=s/\./-/;s/.*://;s/(.*)-(.*)/$2-$1/,uversionmangle=s/(.*)-(.*)/$2-$1/" \
+http://intercal.freeshell.org/download/ .*/ick-(.*).tgz
--- intercal-0.29.orig/debian/rules
+++ intercal-0.29/debian/rules
@@ -0,0 +1,52 @@
+#!/usr/bin/make -f
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
+	mkdir -p temp bin lib include
+	$(MAKE)
+	$(MAKE) -C doc all
+	$(MAKE) check
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	if [ -e Makefile ]; then $(MAKE) distclean; fi
+	$(MAKE) -C doc clean
+	rm -f doc/original.txt doc/intercal.txt
+	rm -rf temp
+	dh_clean config.log config.status Makefile ickspec config.cache
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs usr/bin usr/include usr/share usr/lib
+	$(MAKE) DESTDIR=debian/intercal install
+	dh_install etc/intercal.el usr/share/emacs/site-lisp/
+	rm -f debian/intercal/usr/share/info/dir
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs BUGS README doc/*.ps doc/*.txt
+	dh_installexamples pit/* -X lib -X Makefile
+	dh_link usr/include/ick usr/share/doc/intercal/examples/lib
+	dh_installchangelogs -k HISTORY
+	dh_installinfo doc/*.info*
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- intercal-0.29.orig/debian/changelog
+++ intercal-0.29/debian/changelog
@@ -0,0 +1,254 @@
+intercal (29:0.29-2) unstable; urgency=low
+
+  * Don't assume that whatever crap generates dir actually does so
+    reliably (closes: #661088).
+  * Run the testsuite during build.
+
+ -- Mark Brown <broonie@debian.org>  Fri, 24 Feb 2012 08:24:25 +0000
+
+intercal (29:0.29-1) unstable; urgency=low
+
+  * New maintainer.
+  * New upstream release. 
+
+ -- Mark Brown <broonie@debian.org>  Thu, 23 Feb 2012 23:47:03 +0000
+
+intercal (28:0.28-4) unstable; urgency=medium
+
+  * QA Upload
+  * config.sh: Remove bashism (Closes: #485066)
+    - Thanks Alexander Smith <AIS523@bham.ac.uk>
+  * debian/control:
+    - Set Standards-Version to 3.8.0
+    - Set priority to extra to match the override
+    - Drop unneeded build-dep on dpkg-dev
+
+ -- Albin Tonnerre <albin.tonnerre@gmail.com>  Mon, 16 Jun 2008 15:30:31 +0200
+
+intercal (28:0.28-3) unstable; urgency=low
+
+  * Orphaned the package.
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 27 May 2008 19:22:32 -0400
+
+intercal (28:0.28-2) unstable; urgency=low
+
+  * Remove ulimit when building idiotism.c. ia64 needs more memory than that
+    allows to build the file.
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 01 May 2008 12:38:04 -0400
+
+intercal (28:0.28-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 02 Apr 2008 13:31:29 -0400
+
+intercal (27:0.27-3) unstable; urgency=low
+
+  * Upstream patch fixing bugs in the optimiser and parser. Closes: #459577
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 07 Jan 2008 14:25:35 -0500
+
+intercal (27:0.27-2) unstable; urgency=low
+
+  * Really working watch file.
+  * Add new texinfo build dep. Closes: #459032
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 04 Jan 2008 11:51:41 -0500
+
+intercal (27:0.27-1) unstable; urgency=low
+
+  * New upstream release. Closes: 458781
+    Thanks Alexander Smith, for the help, and half of the funky version
+    number.
+  * Watch file should understand intercal's version number scheme now.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 02 Jan 2008 22:35:53 -0500
+
+intercal (1.26-2) unstable; urgency=low
+
+  * Add Homepage field.
+  * Improved debian/copyright file.
+  * Correct typo and url in man page. Closes: #457199
+  * Point Makefile (and yuk) at the right location for the GPL.
+  * Build fixes.
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 20 Dec 2007 12:40:08 -0500
+
+intercal (1.26-1) unstable; urgency=low
+
+  * Release 1.26 (by Alex Smith) [a bugfix of 0.26]
+  * doc/Makefile hacked to deal with dos line endings.
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 04 Sep 2007 20:51:24 -0400
+
+intercal (0.26-1) unstable; urgency=low
+
+  * The April 1st release from Alex Smith. Closes: #418916
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 12 Apr 2007 16:08:33 -0400
+
+intercal (0.24-3) unstable; urgency=low
+
+  * Fix the line number problem right, we needed some magic to enable
+    yy_lineno incrementing. Thanks Manoj.
+    Closes: #273968
+
+ -- Joey Hess <joeyh@debian.org>  Tue,  2 Nov 2004 19:13:37 -0500
+
+intercal (0.24-2) unstable; urgency=low
+
+  * Put in a hack to use our internal yy_lineno instead of the one provided
+    by flex, which is always 1 for some reason in Debian. Closes: #273968
+
+ -- Joey Hess <joeyh@debian.org>  Tue,  2 Nov 2004 16:56:25 -0500
+
+intercal (0.24-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 22 Feb 2004 12:17:50 -0500
+
+intercal (0.22-2) unstable; urgency=low
+
+  * Move intercal.el to /usr/share.
+  * Updated for new version of flex. Closes: #191481
+  * grotty stopped segfaulting, so docs are back.
+  * Strip out escape sequences from the .txt files.
+
+ -- Joey Hess <joeyh@debian.org>  Thu,  1 May 2003 11:07:18 -0400
+
+intercal (0.22-1) unstable; urgency=low
+
+  * New upstream release: Knuth did *what*?
+  * Updated copyright and watch file for home page move.
+  * Description improvements, based on an offhand remark by aj.
+  * SOme docs left out until grotty segfault gets fixed.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 26 Mar 2003 22:21:10 -0800
+
+intercal (0.20-11) unstable; urgency=low
+
+  * Add missing ; terminal to ick.y. Closes: #165985
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 23 Oct 2002 12:07:47 -0400
+
+intercal (0.20-10) unstable; urgency=low
+
+  * Debhelper v4.
+  * Fixed examples/lib/lib link.
+  * Put .doc files for the main lib into place.
+
+ -- Joey Hess <joeyh@debian.org>  Sat,  1 Jun 2002 18:27:59 -0400
+
+intercal (0.20-9) unstable; urgency=low
+
+  * Do not ship empty examples directory in /usr/share/doc/
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 28 Oct 2001 13:39:27 -0500
+
+intercal (0.20-8) unstable; urgency=low
+
+  * Added real c-compiler dep (lintian).
+  * Debhelper v3.
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 10 Feb 2001 00:15:32 -0800
+
+intercal (0.20-7) unstable; urgency=low
+
+  * Fixed intercal to look in /usr/share/intercal/lib/ for library files,
+    Closes: #75704
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 27 Oct 2000 14:10:34 -0700
+
+intercal (0.20-6) unstable; urgency=low
+
+  * Removed CVS directories that accidentially snuck into the deb.
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 13 Oct 2000 00:38:18 -0400
+
+intercal (0.20-5) unstable; urgency=low
+
+  * Use debhelper v2.
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 25 Sep 2000 15:54:49 -0700
+
+intercal (0.20-4) unstable; urgency=low
+
+  * Build dependancies.
+
+ -- Joey Hess <joeyh@debian.org>  Sat,  4 Dec 1999 01:03:13 -0800
+
+intercal (0.20-3) unstable; urgency=low
+
+  * Corrected corrected maintainer address. Ooops.
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 29 Nov 1999 14:20:40 -0800
+
+intercal (0.20-2) unstable; urgency=low
+
+  * Corrected maintainer address.
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 23 Nov 1999 15:28:27 -0800
+
+intercal (0.20-1) unstable; urgency=low
+
+  * New upstream release with ancient Roman localization. How handy.
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 20 Nov 1999 19:59:00 -0800
+
+intercal (0.19-4) unstable; urgency=low
+
+  * Removed copy of libick.a in /usr/share/intercal/, Closes: #46752
+
+ -- Joey Hess <joeyh@debian.org>  Wed,  6 Oct 1999 12:54:19 -0700
+
+intercal (0.19-3) unstable; urgency=low
+
+  * Removed build-stamp stuff, which can cause problems.
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 30 Sep 1999 13:08:12 -0700
+
+intercal (0.19-2) unstable; urgency=low
+
+  * FHS.
+
+ -- Joey Hess <joeyh@debian.org>  Mon,  6 Sep 1999 14:31:22 -0700
+
+intercal (0.19-1) unstable; urgency=low
+
+  * New upstream release (#33537), new maintainer.
+  * Killed README.debian since it had nothing to say.
+  * Moved to debhelper and stopped using /usr/doc/examples/intercal/ 
+    en passant (#16922).
+  * Depends on c-compiler (#34249).
+  * Simplified the description.
+  * Updated the standards-version.
+  * Updated URL to home page in copyright, and other updates to copyright.
+  * Fixed ick.1 to have a NAME section (#24297), and documented options.
+  * Dropped the html docs, generate docs from intercal.mm in ps and ascii
+    format. Fixed doc/Makefile to actually work.
+  * No more source code in /usr/lib (#13982).
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 13 May 1999 15:44:27 -0700
+
+intercal (0.16-1) unstable; urgency=low
+
+  * New upstream release, build for libc6.
+
+ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Mon,  3 Nov 1997 16:05:29 -0500
+
+intercal (0.15-2) unstable; urgency=low
+
+  * rebuilt with working debstd so that libick.a doesn't get stripped! [#8094]
+  * fixed typos in ick.1 [#8091]
+  * added html intercal files found on the net. [#8091]
+
+ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Sun, 16 Mar 1997 19:55:25 -0500
+
+intercal (0.15-1) unstable; urgency=low
+
+  * New upstream release, new packaging standard.
+
+ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Tue, 25 Feb 1997 02:49:09 -0500
--- intercal-0.29.orig/debian/control
+++ intercal-0.29/debian/control
@@ -0,0 +1,24 @@
+Source: intercal
+Section: interpreters
+Priority: extra
+Build-Depends: debhelper (>= 5), bison, flex, groff, tidy, texinfo
+Maintainer: Mark Brown <broonie@debian.org>
+Standards-Version: 3.8.0
+Vcs-Git: git://git.kitenet.net/joey/packages/intercal
+Homepage: http://intercal.freeshell.org/
+
+Package: intercal
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, gcc | c-compiler
+Description: an INTERCAL de-obfuscator
+ This package is an implementation of the language INTERCAL, legendary for
+ its perversity and horribleness, designed by Don Woods and James Lyon, who
+ have since spent more than twenty years trying to live it down. This
+ version adds COME FROM for extra flavor, and supports multithreading. Comes
+ with language manual and examples including possibly the entire extant body
+ of INTERCAL code.
+ .
+ This INTERCAL implementation works by compiling INTERCAL to C (thus
+ de-obfuscating it), and then uses a C compiler to produce binaries (which
+ are themselves possibly easier to read than the original intercal "source"
+ code).
--- intercal-0.29.orig/debian/compat
+++ intercal-0.29/debian/compat
@@ -0,0 +1 @@
+5
--- intercal-0.29.orig/debian/preinst
+++ intercal-0.29/debian/preinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+# directory changed to symlink
+if [ -d /usr/share/doc/intercal/examples/lib ]; then
+	rm -rf /usr/share/doc/intercal/examples/lib
+fi
+#DEBHELPER#
