patch-tests_Makefile_in 1.0 KB

1234567891011121314151617181920
  1. $OpenBSD: patch-tests_Makefile_in,v 1.2 2011/09/03 10:57:07 naddy Exp $
  2. If SEPARATE_BUILD is enabled,
  3. check-stateless . FOO
  4. will check for a nonexistent ./FOO.IRREVERSIBLE.TXT and fail to take
  5. $(srcdir)/FOO.IRREVERSIBLE.TXT into consideration.
  6. --- tests/Makefile.in.orig Wed Nov 24 03:24:03 2010
  7. +++ tests/Makefile.in Fri Sep 2 22:24:26 2011
  8. @@ -128,7 +128,9 @@ check : all table-from table-to ../src/iconv_no_i18n t
  9. $(srcdir)/check-stateless $(srcdir) CP936
  10. $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(srcdir)/gengb18030z.c ../srclib/libicrt.a -o gengb18030z && \
  11. { cat $(srcdir)/GB18030-BMP.TXT ; ./gengb18030z ; } | sort > GB18030.TXT && \
  12. + { test $(srcdir) = . || cp $(srcdir)/GB18030.IRREVERSIBLE.TXT GB18030.IRREVERSIBLE.TXT; } && \
  13. $(srcdir)/check-stateless . GB18030 && \
  14. + { test $(srcdir) = . || $(RM) GB18030.IRREVERSIBLE.TXT; } && \
  15. $(RM) -r gengb18030z@EXEEXT@ gengb18030z.dSYM GB18030.TXT
  16. $(srcdir)/check-stateful $(srcdir) ISO-2022-CN
  17. $(srcdir)/check-stateful $(srcdir) ISO-2022-CN-EXT