summaryrefslogtreecommitdiff
path: root/gabble
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-21 20:31:25 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-21 20:31:25 +0000
commitc59a2f0b3612ba830154156279d0c6e03daf1e5c (patch)
tree614b01921fbde3e102ff36740a659c5dced2d4d6 /gabble
parent920b112a30b0c0f86d150d5fa6aa07779f22c50a (diff)
Distribute headers more normally, and stop trying to distribute gabble/debug.h
There is no gabble/debug.h. The only effect of putting a .h file in SOURCES is to get it included in the distribution tarball, so this wasn't visible until we tried to make a release, and apparently nobody runs distcheck any more or something.
Diffstat (limited to 'gabble')
-rw-r--r--gabble/Makefile.am13
1 files changed, 10 insertions, 3 deletions
diff --git a/gabble/Makefile.am b/gabble/Makefile.am
index 26b874889..1e729a0ca 100644
--- a/gabble/Makefile.am
+++ b/gabble/Makefile.am
@@ -1,9 +1,18 @@
if ENABLE_PLUGIN_API
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = telepathy-gabble.pc
gabbleincludedir = $(includedir)/telepathy-gabble-0/gabble
-gabbleinclude_HEADERS = \
+gabbleinclude_HEADERS = $(headers)
+
+else
+
+EXTRA_DIST = $(headers)
+
+endif
+
+headers = \
capabilities.h \
capabilities-set.h \
caps-channel-manager.h \
@@ -15,5 +24,3 @@ gabbleinclude_HEADERS = \
plugin.h \
sidecar.h \
types.h
-
-endif