--- c-cpp-reference-2.0.2.orig/debian/doc-base.cpp
+++ c-cpp-reference-2.0.2/debian/doc-base.cpp
@@ -0,0 +1,9 @@
+Document: cpp-reference
+Title: C++ Reference
+Author: Martin Leslie
+Abstract: This document is an attempt at producing a reference guide for the C++ programming language.
+Section: Programming/C++
+
+Format: HTML
+Index: /usr/share/doc/c-cpp-reference/html/CPLUSPLUS/cref.html
+Files: /usr/share/doc/c-cpp-reference/html/CPLUSPLUS/*
--- c-cpp-reference-2.0.2.orig/debian/rules
+++ c-cpp-reference-2.0.2/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+# This file is public domain software, originally written by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build:
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	dh_lintian
+
+	dh_install -XMakefile reference usr/share/doc/kde/HTML/en/kdevelop
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs debian/index.html
+	dh_link usr/share/doc/kde/HTML/en/kdevelop/reference usr/share/doc/c-cpp-reference/html
+	dh_compress -X.docbook -X.css -X.bz2 -X.c -X.h -Xc-lesson -X.txt -Xsnippets -Xyabl -X.CC -X.lst -X.doc -X.asm
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- c-cpp-reference-2.0.2.orig/debian/control
+++ c-cpp-reference-2.0.2/debian/control
@@ -0,0 +1,18 @@
+Source: c-cpp-reference
+Section: devel
+Priority: optional
+Maintainer: Tobias Klauser <tklauser@distanz.ch>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.8.3
+Homepage: http://kdevelop.org
+Vcs-Git: http://git.distanz.ch/scm/debian/pkg-c-cpp-reference.git
+Vcs-Browser: http://git.distanz.ch/?p=debian/pkg-c-cpp-reference.git
+
+Package: c-cpp-reference
+Architecture: all
+Depends: lynx | www-browser, ${misc:Depends}
+Suggests: kdevelop
+Description: C and C++ programming reference
+ A reference for C and C++ primarily created to be used with KDevelop. As it is
+ in HTML format, it can also be used without KDevelop using your favorite
+ browser.
--- c-cpp-reference-2.0.2.orig/debian/c-cpp-reference.lintian-overrides
+++ c-cpp-reference-2.0.2/debian/c-cpp-reference.lintian-overrides
@@ -0,0 +1,2 @@
+# could not find a proper copyright year
+c-cpp-reference: copyright-without-copyright-notice
--- c-cpp-reference-2.0.2.orig/debian/doc-base.c
+++ c-cpp-reference-2.0.2/debian/doc-base.c
@@ -0,0 +1,9 @@
+Document: c-reference
+Title: C Reference
+Author: Martin Leslie
+Abstract: This document is an attempt at producing a reference guide for the C programming language.
+Section: Programming/C
+
+Format: HTML
+Index: /usr/share/doc/c-cpp-reference/html/C/c.html
+Files: /usr/share/doc/c-cpp-reference/html/C/*
--- c-cpp-reference-2.0.2.orig/debian/copyright
+++ c-cpp-reference-2.0.2/debian/copyright
@@ -0,0 +1,27 @@
+This package was debianized by Ivan E. Moore II <rkrusty@tdyc.com> on
+Sun,  2 Dec 2001 22:48:41 -0700.
+
+It was downloaded from <http://www.kdevelop.com/>
+
+Upstream Author: Martin Leslie
+
+License:
+
+        Copyright (C) Martin Leslie
+
+        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.
+
+        You should have received a copy of the GNU General Public License
+        along with this program; if not, write to the Free Software
+        Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL file.
--- c-cpp-reference-2.0.2.orig/debian/changelog
+++ c-cpp-reference-2.0.2/debian/changelog
@@ -0,0 +1,100 @@
+c-cpp-reference (2.0.2-7) unstable; urgency=low
+
+  * Change lintian override from outdated-autotools-helper-file to
+    ancient-autotools-helperfile and add the ancient-libtool and
+    copyright-without-copyright-notice lintian overrides.
+  * Change doc-base sections to Programming/C and Programming/C++
+    respectively.
+  * Add ${misc:Depends} to Depends in control. This fixes a lintian warning.
+  * Replace obsolete dh_clean -k with dh_prep in rules.
+  * Update Standards Version to 3.8.3.
+  * Update debhelper compatibility level from 4 to 7.
+  * Remove Homepage tag in control in favour of the new control field.
+  * Add Vcs-Git and Vcs-Browser control fields.
+  * Change maintainer email address.
+
+ -- Tobias Klauser <tklauser@distanz.ch>  Sun, 17 Jan 2010 14:10:40 +0100
+
+c-cpp-reference (2.0.2-6) unstable; urgency=low
+
+  * New maintainer (Closes: #390841)
+  * Remove trailing whitespaces from debian/control
+  * Remove Build-Depends on cpio as debhelper is used now
+
+ -- Tobias Klauser <tklauser@access.unizh.ch>  Sun, 19 Nov 2006 20:35:12 +0100
+
+c-cpp-reference (2.0.2-5) unstable; urgency=low
+
+  * QA upload.
+  * debian/rules:
+    - Add (empty) build target.  Closes: #395775.
+    - Use binary-indep instead of binary-arch.
+    - Use dh_install, dh_installdocs, dh_link.
+  * debian/source.lintian-overrides: Override outdated-autotools-helper-file,
+    since config.sub and config.guess aren't actually used.
+
+ -- Matej Vela <vela@debian.org>  Sat, 28 Oct 2006 15:41:14 +0200
+
+c-cpp-reference (2.0.2-4) unstable; urgency=low
+
+  * Orphaning this package, setting maintainer field to
+    packages@qa.debian.org.
+  * Fixed some typos and some links (partly fixes: bug#334479).
+  * Bumped Standards-Version to 3.7.2 (no changes).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sat, 30 Sep 2006 18:50:35 +0200
+
+c-cpp-reference (2.0.2-3) unstable; urgency=high
+
+  * Bumped Standards-Version to 3.6.1 (no changes).
+  * Fixed a link (closes: bug#266786).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Thu, 19 Aug 2004 23:09:24 +0200
+
+c-cpp-reference (2.0.2-2) unstable; urgency=low
+
+  * Depends on lynx | www-browser instead of www-browser only.
+  * Uses debian/compat instead of DH_COMPAT.
+  * Uses autotools-dev to update config.{guess,sub}.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Fri,  7 Mar 2003 00:02:47 +0100
+
+c-cpp-reference (2.0.2-1) unstable; urgency=low
+
+  * New maintainer.
+  * New upstream version.
+  * The reference is now accessible without KDevelop (closes: bug#122460).
+  * Updated description.
+  * Bumped standards-version to 3.5.8.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Tue,  4 Mar 2003 15:41:09 +0100
+
+c-cpp-reference (2.0-3) unstable; urgency=low
+
+  * Change Maintainer
+
+ -- Ivan E. Moore II <rkrusty@tdyc.com>  Wed, 06 Mar 2001 00:10:00 -0700
+
+c-cpp-reference (2.0-2) unstable; urgency=low
+
+  * Add missing period per #122463
+  * Remove double "created" in description...bad Ivan
+  * Suggest kdevelop instead of depend since all we are is a bunch of
+    html and .c files...tho it's not as easy to use.
+
+ -- Ivan E. Moore II <rkrusty@tdyc.com>  Wed, 05 Dec 2001 01:17:41 -0700
+
+c-cpp-reference (2.0-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #122187)
+  * Basically took the source, built it like any other KDE package using
+    the debian rules perl script from kdelibs making sure we install into
+    /usr/share/doc/kde/HTML instead of /usr/share/doc/HTML and also 
+    making sure we don't compress any of this stuff.
+  * Yes I did package this back along time ago for kde.tdyc.com stuff but
+    I decided to just do this from scratch to make it cleaner
+  * Lintian error free (currently)
+  * Binary-Indep only package so no worries about it not building on other
+    archs.
+
+ -- Ivan E. Moore II <rkrusty@tdyc.com>  Sun,  2 Dec 2001 22:48:41 -0700
--- c-cpp-reference-2.0.2.orig/debian/source.lintian-overrides
+++ c-cpp-reference-2.0.2/debian/source.lintian-overrides
@@ -0,0 +1,4 @@
+# config.sub and config.guess aren't actually used.
+c-cpp-reference source: ancient-autotools-helper-file
+# admin/ltconfig isn't either
+c-cpp-reference source: ancient-libtool
--- c-cpp-reference-2.0.2.orig/debian/index.html
+++ c-cpp-reference-2.0.2/debian/index.html
@@ -0,0 +1,18 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+	<title>C/C++ Programming Reference</title>
+</head>
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
+<h1>
+	C/C++ Programming Reference
+</h1>
+
+<ul>
+	<li><a href="html/C/c.html">C Programming Reference</a></li>
+	<li><a href="html/CPLUSPLUS/cref.html">C++ Programming Reference</a></li>
+</ul>
+
+</body>
+</html>
--- c-cpp-reference-2.0.2.orig/debian/compat
+++ c-cpp-reference-2.0.2/debian/compat
@@ -0,0 +1 @@
+7
