summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-11-29 14:32:09 +0900
committerAkira TAGOH <akira@tagoh.org>2012-11-29 14:44:38 +0900
commitf23cacb49328af91eccd29bed5211997edf05257 (patch)
tree2e62a76ad824259eb71ac7263ec1c321c1106731 /data/Makefile.am
parent7e72434beeb3f78d80b1e2f7db76b11565d8a776 (diff)
Fix build issue when srcdir != builddir
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6664637..8028463 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -65,7 +65,7 @@ language-subtag-registry.xml: language-subtag-registry reg2xml.c Makefile
else
if REBUILD_DATA
language-subtag-registry.xml: language-subtag-registry reg2xml$(EXEEXT) Makefile
- $(AM_V_GEN) $(builddir)/reg2xml$(EXEEXT) $(srcdir)/language-subtag-registry $@.tmp; \
+ $(AM_V_GEN) $(builddir)/reg2xml$(EXEEXT) $(srcdir)/language-subtag-registry $@.tmp || $(builddir)/reg2xml$(EXEEXT) $(builddir)/language-subtag-registry $@.tmp; \
head -1 $@.tmp | grep -E '^<\?xml version'>/dev/null 2>&1 && mv $@.tmp $@ || (echo "E: $@ isn't an expected result"; rm $@.tmp)
else
language-subtag-registry.xml: