summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog474
-rw-r--r--debian/compat1
-rw-r--r--debian/control46
-rw-r--r--debian/copyright46
-rw-r--r--debian/docs1
-rw-r--r--debian/libmdds-dev.examples1
-rw-r--r--debian/libmdds-dev.install2
-rw-r--r--debian/libmdds-doc.install1
-rw-r--r--debian/patches/dont-install-unneeded-docfiles.diff18
-rw-r--r--debian/patches/reproducible-build.diff15
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules36
-rw-r--r--debian/source/format1
-rw-r--r--debian/tests/control3
-rwxr-xr-xdebian/tests/make-check19
-rw-r--r--debian/tests/patches/system-includes.diff35
-rw-r--r--debian/watch4
17 files changed, 705 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..476c2be
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,474 @@
+mdds (2.1.1-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Fri, 24 Nov 2023 17:38:44 +0100
+
+mdds (2.1.1-1) experimental; urgency=medium
+
+ * New upstream version 2.1.1
+
+ -- Rene Engelhard <rene@debian.org> Tue, 02 May 2023 19:10:18 +0200
+
+mdds (2.1.0-2) experimental; urgency=medium
+
+ * debian/tests/patches/system-includes.diff: fix for mdds-2.1
+
+ -- Rene Engelhard <rene@debian.org> Sat, 14 Jan 2023 09:03:29 +0100
+
+mdds (2.1.0-1) experimental; urgency=medium
+
+ * New upstream version 2.1.0
+
+ * run dh_autoreconf (using ./autogen.sh)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 13 Jan 2023 18:07:01 +0100
+
+mdds (2.0.3-1) unstable; urgency=medium
+
+ * New upstream version 2.0.3
+
+ -- Rene Engelhard <rene@debian.org> Wed, 11 May 2022 18:01:37 +0200
+
+mdds (2.0.2-1) unstable; urgency=medium
+
+ * New upstream version 2.0.2
+
+ -- Rene Engelhard <rene@debian.org> Fri, 18 Feb 2022 08:37:45 +0100
+
+mdds (2.0.1-1) unstable; urgency=medium
+
+ * New upstream version 2.0.1
+
+ -- Rene Engelhard <rene@debian.org> Tue, 14 Dec 2021 07:05:18 +0100
+
+mdds (2.0.0-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Wed, 08 Dec 2021 19:37:20 +0100
+
+mdds (2.0.0-1) experimental; urgency=medium
+
+ * New upstream version 2.0.0
+
+ -- Rene Engelhard <rene@debian.org> Tue, 02 Nov 2021 06:55:27 +0100
+
+mdds (1.7.0-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Thu, 10 Sep 2020 18:23:21 +0200
+
+mdds (1.6.0-4) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sat, 04 Jul 2020 08:13:23 +0000
+
+mdds (1.6.0-3) experimental; urgency=medium
+
+ * merge mdds 1.5.0-3
+
+ -- Rene Engelhard <rene@debian.org> Sat, 06 Jun 2020 16:05:33 +0200
+
+mdds (1.6.0-1) experimental; urgency=medium
+
+ * New upstream version 1.6.0
+
+ -- Rene Engelhard <rene@debian.org> Sun, 09 Feb 2020 23:11:02 +0100
+
+mdds (1.5.0-3) unstable; urgency=medium
+
+ * debian/tests/patches/system-includes.diff: fix for mdds-1.5
+
+ -- Rene Engelhard <rene@debian.org> Wed, 20 Nov 2019 21:45:11 +0100
+
+mdds (1.5.0-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Wed, 20 Nov 2019 12:15:42 +0100
+
+mdds (1.5.0-1) experimental; urgency=medium
+
+ * New upstream version 1.5.0
+
+ * explicitely run dh_auto_configure --buildsystem=autoconf
+ * add expect, dejagnu build-dependencies
+
+ -- Rene Engelhard <rene@debian.org> Sun, 11 Aug 2019 12:54:07 +0200
+
+mdds (1.4.3-6) unstable; urgency=medium
+
+ * remove bogus make clean in autopkgtest
+
+ -- Rene Engelhard <rene@debian.org> Wed, 19 Dec 2018 00:41:39 +0100
+
+mdds (1.4.3-5) unstable; urgency=medium
+
+ * fix autopkgtest
+
+ -- Rene Engelhard <rene@debian.org> Tue, 18 Dec 2018 22:57:44 +0000
+
+mdds (1.4.3-4) unstable; urgency=medium
+
+ * make debian/tests/patches/system-includes.diff apply again
+
+ -- Rene Engelhard <rene@debian.org> Tue, 18 Dec 2018 07:32:26 +0100
+
+mdds (1.4.3-3) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sat, 15 Dec 2018 13:52:25 +0000
+
+mdds (1.4.3-2) experimental; urgency=medium
+
+ * install only example/*.cpp (closes: #915413)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 03 Dec 2018 22:30:57 +0000
+
+mdds (1.4.3-1) experimental; urgency=medium
+
+ * New upstream version 1.4.3
+
+ -- Rene Engelhard <rene@debian.org> Wed, 31 Oct 2018 20:57:47 +0000
+
+mdds (1.4.2-1) experimental; urgency=medium
+
+ * New upstream version 1.4.2
+
+ -- Rene Engelhard <rene@debian.org> Tue, 18 Sep 2018 20:00:05 +0200
+
+mdds (1.4.1-1) experimental; urgency=medium
+
+ * New upstream version 1.4.1
+
+ -- Rene Engelhard <rene@debian.org> Mon, 27 Aug 2018 08:11:28 +0000
+
+mdds (1.3.1-3) unstable; urgency=medium
+
+ * apply patch from Chris Lamb to make the build reproducible
+ (FULL_PATH_NAMES = NO), thanks (closes: #888049)
+ * fix debian/watch
+
+ -- Rene Engelhard <rene@debian.org> Mon, 27 Aug 2018 07:57:14 +0000
+
+mdds (1.3.1-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sun, 21 Jan 2018 13:52:30 +0100
+
+mdds (1.3.1-1) experimental; urgency=medium
+
+ * New upstream version 1.3.1
+
+ -- Rene Engelhard <rene@debian.org> Sat, 11 Nov 2017 10:46:04 +0000
+
+mdds (1.3.0-1) experimental; urgency=medium
+
+ * New upstream version 1.3.0
+
+ -- Rene Engelhard <rene@debian.org> Tue, 31 Oct 2017 12:10:12 +0000
+
+mdds (1.2.3-6) unstable; urgency=medium
+
+ * *really* add Restrictions: allow-stderr
+
+ -- Rene Engelhard <rene@debian.org> Sat, 15 Jul 2017 10:06:55 +0000
+
+mdds (1.2.3-5) unstable; urgency=medium
+
+ * more autopkgtest fixes: actually use system-includes and
+ use allow-stdrr
+
+ -- Rene Engelhard <rene@debian.org> Thu, 13 Jul 2017 21:32:53 +0000
+
+mdds (1.2.3-4) unstable; urgency=medium
+
+ * bump dh compat to 9
+ * fix autopkgtest: run dh_auto_configure before make check...
+
+ -- Rene Engelhard <rene@debian.org> Wed, 12 Jul 2017 23:22:28 +0200
+
+mdds (1.2.3-3) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sat, 27 May 2017 10:45:52 +0200
+
+mdds (1.2.3-2) experimental; urgency=medium
+
+ * add autopkgtest running make check
+
+ -- Rene Engelhard <rene@debian.org> Thu, 25 May 2017 17:27:47 +0200
+
+mdds (1.2.3-1) experimental; urgency=medium
+
+ * New upstream version 1.2.3
+
+ -- Rene Engelhard <rene@debian.org> Thu, 25 May 2017 16:16:53 +0200
+
+mdds (1.2.2-1) unstable; urgency=medium
+
+ * [adc1995] New upstream version 1.2.2
+
+ -- Rene Engelhard <rene@debian.org> Sat, 10 Sep 2016 17:46:53 +0200
+
+mdds (1.2.1-1) unstable; urgency=medium
+
+ * [5cd5107] Imported Upstream version 1.2.1
+
+ -- Rene Engelhard <rene@debian.org> Mon, 27 Jun 2016 16:26:02 +0200
+
+mdds (1.2.0-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sat, 14 May 2016 10:41:38 +0200
+
+mdds (1.2.0-1) experimental; urgency=medium
+
+ * Imported Upstream version 1.2.0
+
+ -- Rene Engelhard <rene@debian.org> Fri, 13 May 2016 11:27:17 +0200
+
+mdds (1.1.0-3) unstable; urgency=medium
+
+ * upload to unstable
+
+ * debian/watch: fix filenamemangle
+
+ -- Rene Engelhard <rene@debian.org> Thu, 07 Apr 2016 21:33:36 +0200
+
+mdds (1.1.0-2) experimental; urgency=medium
+
+ * point debian/watch to github instead of LOs dev-www
+
+ -- Rene Engelhard <rene@debian.org> Thu, 10 Mar 2016 00:49:02 +0100
+
+mdds (1.1.0-1) experimental; urgency=medium
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Fri, 12 Feb 2016 16:27:04 +0100
+
+mdds (1.0.0-2) experimental; urgency=medium
+
+ * actually install the includes and pkg-config file...
+
+ -- Rene Engelhard <rene@debian.org> Sat, 05 Dec 2015 16:39:50 +0100
+
+mdds (1.0.0-1) experimental; urgency=medium
+
+ * New upstream release
+
+ * build new doxygen docs and create libmdds-doc
+
+ * update copyright/control to point to github and update watch to
+ dev-www.libreoffice.org/src since http://kohei.us/files/mdds/src is 403.
+ * fix Maintainer to Debian LibreOffice Maintainers
+
+ -- Rene Engelhard <rene@debian.org> Fri, 20 Nov 2015 10:13:15 +0100
+
+mdds (0.12.1-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Sat, 20 Jun 2015 10:49:46 +0200
+
+mdds (0.12.0-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sun, 05 Apr 2015 18:58:32 +0200
+
+mdds (0.12.0-1) experimental; urgency=medium
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Thu, 19 Feb 2015 23:22:06 +0100
+
+mdds (0.11.2-1) experimental; urgency=medium
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Fri, 19 Dec 2014 14:08:18 +0100
+
+mdds (0.11.1-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Fri, 03 Oct 2014 10:03:49 +0000
+
+mdds (0.11.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Thu, 18 Sep 2014 20:46:50 +0200
+
+mdds (0.10.3-2) unstable; urgency=low
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Tue, 06 May 2014 21:29:32 +0200
+
+mdds (0.10.3-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Fri, 25 Apr 2014 19:24:09 +0200
+
+mdds (0.10.2-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Wed, 12 Feb 2014 15:57:34 +0100
+
+mdds (0.10.1-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Thu, 16 Jan 2014 01:22:36 +0100
+
+mdds (0.9.1-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Mon, 21 Oct 2013 21:49:59 +0200
+
+mdds (0.8.1-4) unstable; urgency=low
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Wed, 28 Aug 2013 10:18:38 +0200
+
+mdds (0.8.1-3) experimental; urgency=low
+
+ * build with default boost again
+
+ -- Rene Engelhard <rene@debian.org> Wed, 21 Aug 2013 18:23:35 +0200
+
+mdds (0.8.1-2) unstable; urgency=low
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Tue, 23 Jul 2013 18:18:53 +0200
+
+mdds (0.8.1-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Tue, 21 May 2013 01:25:55 +0200
+
+mdds (0.8.0-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Thu, 09 May 2013 22:17:38 +0200
+
+mdds (0.7.1-3) unstable; urgency=low
+
+ * build using libboost1.53-dev to work around compile error
+ with sids new gcc-4.7
+
+ -- Rene Engelhard <rene@debian.org> Thu, 09 May 2013 22:14:31 +0200
+
+mdds (0.7.1-2) unstable; urgency=low
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Fri, 19 Apr 2013 00:52:59 +0200
+
+mdds (0.7.1-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Thu, 14 Mar 2013 22:54:54 +0100
+
+mdds (0.7.0-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Wed, 13 Mar 2013 01:53:55 +0100
+
+mdds (0.6.1-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Tue, 18 Sep 2012 18:44:10 +0200
+
+mdds (0.6.0-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Thu, 19 Jul 2012 21:05:12 +0200
+
+mdds (0.5.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Sun, 30 Oct 2011 21:50:26 +0000
+
+mdds (0.5.3-3) unstable; urgency=low
+
+ * rm -f VERSION example/Makefile misc/mdds.spec (closes: #643215)
+ * don't let Makefile install stuff into /usr/share/doc/mdds
+
+ -- Rene Engelhard <rene@debian.org> Mon, 26 Sep 2011 23:16:31 +0000
+
+mdds (0.5.3-2) unstable; urgency=low
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Tue, 30 Aug 2011 21:28:09 +0200
+
+mdds (0.5.3-1) experimental; urgency=low
+
+ * new upstream release
+
+ -- Rene Engelhard <rene@debian.org> Fri, 15 Jul 2011 21:08:45 +0200
+
+mdds (0.5.2-1) experimental; urgency=low
+
+ * new upstream release
+
+ -- Rene Engelhard <rene@debian.org> Tue, 29 Mar 2011 00:13:11 +0200
+
+mdds (0.5.0-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Fri, 07 Jan 2011 23:29:53 +0100
+
+mdds (0.4.0-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Tue, 21 Dec 2010 03:00:49 +0100
+
+mdds (0.3.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Tue, 21 Dec 2010 02:02:35 +0100
+
+mdds (0.3.0-3) unstable; urgency=high
+
+ * remove bogus temporary files from debian...
+
+ -- Rene Engelhard <rene@debian.org> Thu, 24 Jun 2010 00:10:29 +0200
+
+mdds (0.3.0-2) unstable; urgency=low
+
+ * add debian/watch
+
+ -- Rene Engelhard <rene@debian.org> Fri, 14 May 2010 14:00:22 +0200
+
+mdds (0.3.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Rene Engelhard <rene@debian.org> Thu, 13 May 2010 00:43:04 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3ce9298
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: mdds
+Section: libdevel
+Priority: optional
+Maintainer: Debian LibreOffice Maintaners <debian-openoffice@lists.debian.org>
+Uploaders: Rene Engelhard <rene@debian.org>
+Build-Depends: debhelper (>= 7.0.50~), libboost-dev (>= 1.39)
+Build-Depends-Indep: doxygen
+Build-Conflicts: expect, dejagnu
+Standards-Version: 3.8.4
+Homepage: https://gitlab.com/mdds/mdds
+
+Package: libmdds-dev
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, libboost-dev (>= 1.39)
+Description: Multi Dimension Data structure library -- headers
+ A collection of multi-dimensional data structure and indexing algorithm.
+ .
+ This is a C++ library, and is a collection of various data structures designed
+ to efficiently store and query multi-dimensional data for various
+ filtering criteria. Different structures are optimized for different
+ query needs.
+ .
+ This library is a source-code only library. It’s designed to be
+ header-only meaning that the user program does not need to link to any
+ additional shared library in order to use these data structures. The
+ data structures are all available as C++ templates.
+
+Package: libmdds-doc
+Architecture: all
+Depends: ${misc:Depends}
+Section: doc
+Description: Multi Dimension Data structure library -- documentation
+ A collection of multi-dimensional data structure and indexing algorithm.
+ .
+ This is a C++ library, and is a collection of various data structures designed
+ to efficiently store and query multi-dimensional data for various
+ filtering criteria. Different structures are optimized for different
+ query needs.
+ .
+ This library is a source-code only library. It’s designed to be
+ header-only meaning that the user program does not need to link to any
+ additional shared library in order to use these data structures. The
+ data structures are all available as C++ templates.
+ .
+ This package contains the API documentation for mdds.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..86ed12e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+This work was packaged for Debian by:
+
+ Rene Engelhard <rene@debian.org> on Wed, 12 May 2010 22:21:19 +0200
+
+It was downloaded from:
+
+ https://gitlab.com/mdds/mdds
+
+Upstream Author:
+
+ Kohei Yoshida <kohei.yoshida@gmail.com>
+
+Copyright:
+
+ Copyright (c) 2010 Kohei Yoshida
+
+License:
+
+MIT/X11:
+
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Rene Engelhard <rene@debian.org>
+
+and under the same license as mdds itself.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libmdds-dev.examples b/debian/libmdds-dev.examples
new file mode 100644
index 0000000..0bf4be9
--- /dev/null
+++ b/debian/libmdds-dev.examples
@@ -0,0 +1 @@
+example/*.cpp
diff --git a/debian/libmdds-dev.install b/debian/libmdds-dev.install
new file mode 100644
index 0000000..331c2ba
--- /dev/null
+++ b/debian/libmdds-dev.install
@@ -0,0 +1,2 @@
+usr/include/*
+usr/share/pkgconfig/*
diff --git a/debian/libmdds-doc.install b/debian/libmdds-doc.install
new file mode 100644
index 0000000..534591b
--- /dev/null
+++ b/debian/libmdds-doc.install
@@ -0,0 +1 @@
+doc/_doxygen/html/* usr/share/doc/libmdds-dev/docs/html
diff --git a/debian/patches/dont-install-unneeded-docfiles.diff b/debian/patches/dont-install-unneeded-docfiles.diff
new file mode 100644
index 0000000..2c2a135
--- /dev/null
+++ b/debian/patches/dont-install-unneeded-docfiles.diff
@@ -0,0 +1,18 @@
+--- mdds-0.6.1.orig/Makefile.in
++++ mdds-0.6.1/Makefile.in
+@@ -210,8 +210,6 @@
+ $(CXX) $(LDFLAGS) $< -o $@
+
+ install: $(HEADERS)
+- cp -a LICENSE COPYING
+- cp -a CHANGELOG NEWS
+ install -d $(DESTDIR)$(INSTALL_INCDIR)/mdds
+ install -d $(DESTDIR)$(INSTALL_DOCDIR)
+ install -d $(DESTDIR)@datarootdir@
+@@ -219,7 +219,6 @@
+ install -m 644 @top_srcdir@/$(INCDIR)/mdds/*.hpp $(DESTDIR)$(INSTALL_INCDIR)/mdds
+ install -m 644 @top_srcdir@/$(INCDIR)/mdds/*.inl $(DESTDIR)$(INSTALL_INCDIR)/mdds
+ install -m 644 $(MISCDIR)/mdds.pc $(DESTDIR)@datarootdir@/pkgconfig/mdds-@API_VERSION@.pc
+- install -m 644 @top_srcdir@/AUTHORS @top_srcdir@/COPYING @top_srcdir@/NEWS @top_srcdir@/README.md @top_srcdir@/VERSION $(DESTDIR)$(INSTALL_DOCDIR)
+
+ check: $(ALL_TESTS)
diff --git a/debian/patches/reproducible-build.diff b/debian/patches/reproducible-build.diff
new file mode 100644
index 0000000..ac4260c
--- /dev/null
+++ b/debian/patches/reproducible-build.diff
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2018-01-23
+
+--- mdds-1.3.1.orig/doc/doxygen.conf
++++ mdds-1.3.1/doc/doxygen.conf
+@@ -132,7 +132,7 @@ INLINE_INHERITED_MEMB = NO
+ # shortest path that makes the file name unique will be used
+ # The default value is: YES.
+
+-FULL_PATH_NAMES = YES
++FULL_PATH_NAMES = NO
+
+ # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
+ # Stripping is only done if one of the specified strings matches the left-hand
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a05935a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+#dont-install-unneeded-docfiles.diff
+reproducible-build.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..aff236e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,36 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_autoreconf ./autogen.sh
+ dh_auto_configure --buildsystem=autoconf
+
+override_dh_auto_build:
+ cd doc && doxygen doxygen.conf
+
+override_dh_auto_test:
+ifneq (nocheck,$(DEB_BUILD_OPTIONS))
+ $(MAKE) check
+endif
+
+override_dh_clean:
+ dh_autoreconf_clean
+ifneq (nocheck,$(DEB_BUILD_OPTIONS))
+ rm -rf obj
+endif
+ rm -f Makefile config.status config.log
+ rm -f VERSION example/Makefile misc/mdds.spec misc/mdds.pc
+ rm -rf doc/_doxygen
+
+ dh_clean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7ace532
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: make-check
+Depends: @builddeps@, libmdds-dev, dh-autoreconf, pkg-config
+Restrictions: allow-stderr
diff --git a/debian/tests/make-check b/debian/tests/make-check
new file mode 100755
index 0000000..2c6de92
--- /dev/null
+++ b/debian/tests/make-check
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+set -e
+set -E
+
+function cleanup() {
+ dh_autoreconf_clean
+ patch -p1 -R < debian/tests/patches/system-includes.diff
+}
+
+trap cleanup ERR
+
+patch -p1 < debian/tests/patches/system-includes.diff
+dh_autoreconf
+aclocal && automake
+dh_auto_configure
+make -C example check
+
+cleanup
diff --git a/debian/tests/patches/system-includes.diff b/debian/tests/patches/system-includes.diff
new file mode 100644
index 0000000..b26ccc7
--- /dev/null
+++ b/debian/tests/patches/system-includes.diff
@@ -0,0 +1,35 @@
+diff --git a/example/Makefile.am b/example/Makefile.am
+index 877a5e2..3930e10 100644
+--- a/example/Makefile.am
++++ b/example/Makefile.am
+@@ -1,5 +1,5 @@
+
+-AM_CPPFLAGS = -I$(top_srcdir)/include -DNDEBUG
++AM_CPPFLAGS = $(shell pkg-config --cflags mdds-2.1) -DNDEBUG
+
+ EXTRA_PROGRAMS = \
+ flat-segment-tree \
+diff --git a/configure.ac b/configure.ac
+index f2ad3e8..588db4e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -13,7 +13,6 @@ PACKAGE_TARNAME=AC_PACKAGE_TARNAME
+ AC_SUBST(PACKAGE_TARNAME)
+
+ OBJDIR=obj
+-INCDIR=include
+ MISCDIR=misc
+ QUICKCHECKDIR=quickcheck
+ AC_SUBST(OBJDIR)
+@@ -134,11 +133,6 @@ AC_SUBST(CXXFLAGS_UNITTESTS)
+
+ AC_CONFIG_FILES([
+ Makefile
+-include/Makefile
+-include/mdds/Makefile
+-include/mdds/multi_type_vector/Makefile
+-include/mdds/multi_type_vector/aos/Makefile
+-include/mdds/multi_type_vector/soa/Makefile
+ example/Makefile
+ test/Makefile
+ test/gdb/Makefile
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4cb8cde
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=downloadurlmangle=s|gitlab.com/mdds/mdds/repository/(@ANY_VERSION@)/archive.tar.gz|kohei.us/files/mdds/src/@PACKAGE@-$1.tar.bz2|,repack,compression=bz2 \
+http://gitlab.com/mdds/mdds/tags .*/@ANY_VERSION@/archive\.tar\.gz
+