summary refs log tree commit diff stats
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-08-27 22:42:36 -0400
committerPatrick Griffis <tingping@tingping.se>2016-08-27 22:43:07 -0400
commit7281da8b2c37b58d69378cc852a2aa5173c82f47 (patch)
treec25fca3db2d89d315c7a541eec404f806aaef1b8 /data/Makefile.am
parentdc09f2c75dba14e40fbdd69d3bbd850010d80451 (diff)
build: Avoid installing uncessary files with features disabled
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 7b124b87..b5077d24 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,7 +1,15 @@
-SUBDIRS = pkgconfig man
+SUBDIRS =
+
+if DO_PLUGIN
+SUBDIRS += pkgconfig
+endif
 
 if DO_GTK
-SUBDIRS += icons misc
+SUBDIRS += icons misc man
+else
+if WITH_TM
+SUBDIRS += misc
+endif
 endif
 
 EXTRA_DIST = \