]> granicus.if.org Git - check/commitdiff
Examples in documentation now are diffs showing entire file as context
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 18 Nov 2012 04:13:25 +0000 (04:13 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 18 Nov 2012 04:13:25 +0000 (04:13 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@676 64e312b2-a51f-0410-8e61-82d0ca0eb02a

doc/Makefile.am

index ea08c864eeddaaf41efe89a2fd4aa4a90d46d468..c61804988e638d278b6da2ee7948ddf620114e73 100644 (file)
@@ -30,47 +30,47 @@ eg_tests = $(eg_root)/tests
 # think that means there is an error
 money.1-2.h.diff: $(eg_src)/money.1.h $(eg_src)/money.2.h
        cd $(eg_root); \
-       diff -u src/money.1.h src/money.2.h > @abs_builddir@/$@ || test $$? -eq 1; \
+       diff -U 100 src/money.1.h src/money.2.h > @abs_builddir@/$@ || test $$? -eq 1; \
        cd -;
 
 money.1-3.c.diff: $(eg_src)/money.1.c $(eg_src)/money.3.c
        cd $(eg_root); \
-       diff -u src/money.1.c src/money.3.c > @abs_builddir@/$@ || test $$? -eq 1; \
+       diff -U 100 src/money.1.c src/money.3.c > @abs_builddir@/$@ || test $$? -eq 1; \
        cd -;
 
 money.3-4.c.diff: $(eg_src)/money.3.c $(eg_src)/money.4.c
        cd $(eg_root); \
-       diff -u src/money.3.c src/money.4.c > @abs_builddir@/$@ || test $$? -eq 1; \
+       diff -U 100 src/money.3.c src/money.4.c > @abs_builddir@/$@ || test $$? -eq 1; \
        cd -;
 
 money.4-5.c.diff: $(eg_src)/money.4.c $(eg_src)/money.5.c
        cd $(eg_root); \
-       diff -u src/money.4.c src/money.5.c > @abs_builddir@/$@ || test $$? -eq 1; \
+       diff -U 100 src/money.4.c src/money.5.c > @abs_builddir@/$@ || test $$? -eq 1; \
        cd -;
 
 money.5-6.c.diff: $(eg_src)/money.5.c $(eg_src)/money.6.c
        cd $(eg_root); \
-       diff -u src/money.5.c src/money.6.c > @abs_builddir@/$@ || test $$? -eq 1; \
+       diff -U 100 src/money.5.c src/money.6.c > @abs_builddir@/$@ || test $$? -eq 1; \
        cd -;
 
 check_money.1-2.c.diff: $(eg_tests)/check_money.1.c $(eg_tests)/check_money.2.c
        cd $(eg_root); \
-       diff -u tests/check_money.1.c tests/check_money.2.c > @abs_builddir@/$@ || test $$? -eq 1; \
+       diff -U 100 tests/check_money.1.c tests/check_money.2.c > @abs_builddir@/$@ || test $$? -eq 1; \
        cd -;
 
 check_money.2-3.c.diff: $(eg_tests)/check_money.2.c $(eg_tests)/check_money.3.c
        cd $(eg_root); \
-       diff -u tests/check_money.2.c tests/check_money.3.c > @abs_builddir@/$@ || test $$? -eq 1; \
+       diff -U 100 tests/check_money.2.c tests/check_money.3.c > @abs_builddir@/$@ || test $$? -eq 1; \
        cd -;
 
 check_money.3-6.c.diff: $(eg_tests)/check_money.3.c $(eg_tests)/check_money.6.c
        cd $(eg_root); \
-       diff -u tests/check_money.3.c tests/check_money.6.c > @abs_builddir@/$@ || test $$? -eq 1; \
+       diff -U 100 tests/check_money.3.c tests/check_money.6.c > @abs_builddir@/$@ || test $$? -eq 1; \
        cd -;
 
 check_money.6-7.c.diff: $(eg_tests)/check_money.6.c $(eg_tests)/check_money.7.c
        cd $(eg_root); \
-       diff -u tests/check_money.6.c tests/check_money.7.c > @abs_builddir@/$@ || test $$? -eq 1; \
+       diff -U 100 tests/check_money.6.c tests/check_money.7.c > @abs_builddir@/$@ || test $$? -eq 1; \
        cd -;
 
 # explicitly list every file in the example.