summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-06-26 12:33:29 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-05 13:56:36 +0100
commit50674ed689a280d3100c843dfebf5b1f3e9928a4 (patch)
tree6a7f510857a52f70c363b8434a51a22689209a14 /test
parentdd81768ecb560f6f75483d5b51d278b424ed9c0c (diff)
downloaddbus-50674ed689a280d3100c843dfebf5b1f3e9928a4.tar.gz
Use GNU make features to reduce repetition
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48277 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Chengwei Yang <chengwei.yang@intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 405aa1c2..eddcd644 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -370,10 +370,6 @@ imported_data = \
noinst_DATA = $(imported_data)
CLEANFILES = $(noinst_DATA)
-data/valid-config-files/session.conf: $(top_builddir)/bus/session.conf
- $(AM_V_at)$(MKDIR_P) data/valid-config-files
- $(AM_V_GEN)cp $< $@
-
-data/valid-config-files/system.conf: $(top_builddir)/bus/system.conf
+$(imported_data): data/valid-config-files/%.conf: $(top_builddir)/bus/%.conf
$(AM_V_at)$(MKDIR_P) data/valid-config-files
$(AM_V_GEN)cp $< $@