+## The manual.
+SUBDIRS += doc
+
+## The tests and examples.
+SUBDIRS += test
+
+###--------------------------------------------------------------------------
+### Distribution.
+
+## Release number.
+dist-hook:
+ echo $(VERSION) >$(distdir)/RELEASE
+
+## Additional build tools.
+EXTRA_DIST += config/auto-version
+EXTRA_DIST += config/confsubst
+
+###--------------------------------------------------------------------------
+### Debian.
+
+EXTRA_DIST += debian/rules debian/copyright
+EXTRA_DIST += debian/control debian/changelog
+EXTRA_DIST += debian/compat
+
+## libsod
+EXTRA_DIST += debian/libsod.install
+
+## libsod-dev
+EXTRA_DIST += debian/libsod-dev.install
+
+## sod
+EXTRA_DIST += debian/sod.install
+
+## sod-doc
+EXTRA_DIST += debian/sod-doc.install
+
+## sod-dev
+EXTRA_DIST += debian/sod-dev.install
+