openbsd-ports/devel/check/patches/patch-doc_Makefile_in
benoit cc77c6caec - update check to 0.9.6
- change maintainer
- update patches

ok avsm@, ajacoutot@
2009-05-27 20:52:15 +00:00

85 lines
2.9 KiB
Plaintext

$OpenBSD: patch-doc_Makefile_in,v 1.3 2009/05/27 20:52:18 benoit Exp $
--- doc/Makefile.in.orig Mon Dec 29 15:19:19 2008
+++ doc/Makefile.in Wed May 27 22:41:26 2009
@@ -159,7 +159,7 @@ build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
-docdir = $(datadir)/doc/$(PACKAGE)
+docdir = $(datadir)/doc/check/
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
@@ -227,11 +227,11 @@ EXTRA_DIST = $(example_docs) \
# install money example
-exampledir = $(docdir)/example
+exampledir = $(datadir)/examples/check/
example_DATA = $(example_docs)
-examplesrcdir = $(docdir)/example/src
+examplesrcdir = $(exampledir)/src
examplesrc_DATA = $(example_src_docs)
-exampletestsdir = $(docdir)/example/tests
+exampletestsdir = $(exampledir)/tests
exampletests_DATA = $(example_tests_docs)
all: all-am
@@ -717,47 +717,47 @@ check.texi: money.1-2.h.diff \
# diff returns 1 if there is a difference, but we don't want make to
# 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); \
+ -cd $(eg_root); \
diff -u 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); \
+ -cd $(eg_root); \
diff -u 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); \
+ -cd $(eg_root); \
diff -u 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); \
+ -cd $(eg_root); \
diff -u 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); \
+ -cd $(eg_root); \
diff -u 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); \
+ -cd $(eg_root); \
diff -u 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); \
+ -cd $(eg_root); \
diff -u 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); \
+ -cd $(eg_root); \
diff -u 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); \
+ -cd $(eg_root); \
diff -u tests/check_money.6.c tests/check_money.7.c > @abs_builddir@/$@ || test $$? -eq 1; \
cd -;
# Tell versions [3.59,3.63) of GNU make to not export all variables.