summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-01-21 15:05:31 +0000
committerRichard Hughes <richard@hughsie.com>2016-01-21 15:50:53 +0000
commitbdbc690fac186a2afbb8ef8a618aa510c9f3367a (patch)
tree1c3e122fbba92a74c1eaaa7a2c087275bb6afb0b /data
parenta6c7bf7dc59facde6b21ba1415d57d918a9ae8a4 (diff)
downloadappstream-glib-bdbc690fac186a2afbb8ef8a618aa510c9f3367a.tar.gz
Only build the test firmware files when using --enable-firmware
Diffstat (limited to 'data')
-rw-r--r--data/tests/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/tests/Makefile.am b/data/tests/Makefile.am
index be138fe..368a556 100644
--- a/data/tests/Makefile.am
+++ b/data/tests/Makefile.am
@@ -51,6 +51,7 @@ test_files = \
validate.xml.gz
if HAVE_BUILDER
+if HAVE_GCAB
colorhug-als-2.0.0.cab: $(srcdir)/firmware/2_0_0/firmware.*
$(AM_V_GEN) touch -c -m -d"2000-01-01T00:00:00" $?; \
$(GCAB) --create --nopath $@ \
@@ -74,6 +75,7 @@ BUILT_SOURCES = \
colorhug-als-2.0.1.cab \
colorhug-als-2.0.2.cab
endif
+endif
CLEANFILES = \
$(BUILT_SOURCES) \