the src/c99-to-c89.diff file. E.g., I do this:
make patch-check REGEN_PATCH=1; ediff src/c99-to-c89.diff new-diff
2006-10-28 Jim Meyering <jim@meyering.net>
+ * Makefile.maint (patch-check): Make it easier to regenerate
+ the src/c99-to-c89.diff file. E.g., I do this:
+ make patch-check REGEN_PATCH=1; ediff src/c99-to-c89.diff new-diff
+
* src/c99-to-c89.diff: Update to reflect new offsets in rm.c.
2006-10-26 Jim Meyering <jim@meyering.net>
(cd src-c89; patch -V never --fuzz=0) < src/c99-to-c89.diff \
> $@.1 2>&1
grep -v '^patching file ' $@.1 > $@.2 || :
+ if test "$${REGEN_PATCH+set}" = set; then \
+ diff -upr src src-c89 > new-diff || : ; fi
fail=0; test -s $@.2 && fail=1 || : ; \
rm -rf src-c89 $@.1 $@.2; \
test $$fail = 0