chiark / gitweb /
Merge branch 'master' into doc
[sod] / Makefile.am
index e1b1bbfab287a311f64291367bf269f9135143bf..d1a016db2876c7ac1564b10fcb3c681fe8da5f07 100644 (file)
@@ -27,6 +27,17 @@ include      $(top_srcdir)/vars.am
 
 SUBDIRS                         =
 
+###--------------------------------------------------------------------------
+### Package-configuration file.
+
+pkgconfigdir            = $(libdir)/pkgconfig
+pkgconfig_DATA          = sod.pc
+CLEANFILES             += sod.pc
+EXTRA_DIST             += sod.pc.in
+
+sod.pc: sod.pc.in Makefile
+       $(SUBST) $(srcdir)/sod.pc.in >$@.new $(SUBSTITUTIONS) && mv $@.new $@
+
 ###--------------------------------------------------------------------------
 ### Subdirectories to build
 
@@ -50,4 +61,23 @@ dist-hook:
 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-dev
+EXTRA_DIST              += debian/sod-dev.install
+
 ###----- That's all, folks --------------------------------------------------