(%.tab): Don't build BLOCK.tab.
authorhanda <handa>
Thu, 2 Sep 2010 07:02:41 +0000 (07:02 +0000)
committerhanda <handa>
Thu, 2 Sep 2010 07:02:41 +0000 (07:02 +0000)
Makefile.am

index 5e78c91..c261f54 100644 (file)
@@ -278,8 +278,10 @@ LINEBREAK.tab: UNIDATA/LineBreak.txt LINEBREAK.awk
        @$(AWK) -f LINEBREAK.awk $< >> $@
 
 %.tab: UNIDATA/UnicodeData.txt CHARTAB.awk
-       echo "# Generated from $<." > $@
-       @$(AWK) -f CHARTAB.awk FIELD=$@ $< >>$@
+       if [ "$@" != "BLOCK.tab" ] ; then \
+         echo "# Generated from $<." > $@; \
+         @$(AWK) -f CHARTAB.awk FIELD=$@ $< >>$@; \
+       fi
 
 pkgdatadir=$(datadir)/m17n