Debian Codegraph @

debian/patches/debianization-build.patch

raw symbols SCIP
1 Descriptionscip-debian debian bibtool 2.68+ds-3 bibtool/patches/`debianization-build.patch`#Description.: debianization: build part
2 Meant to maintain a minimal debian/rules, to fix warnings,
3 to address Debian specific build stuff.
4 Originscip-debian debian bibtool 2.68+ds-3 bibtool/patches/`debianization-build.patch`#Origin.: debian
5 Forwardedscip-debian debian bibtool 2.68+ds-3 bibtool/patches/`debianization-build.patch`#Forwarded.: not-needed
6 Authorscip-debian debian bibtool 2.68+ds-3 bibtool/patches/`debianization-build.patch`#Author.: Jerome Benoit <[email protected]scip-debian . . . identity/`[email protected]`.>
7 Last-Updatescip-debian debian bibtool 2.68+ds-3 bibtool/patches/`debianization-build.patch`#Last-Update.: 2020-05-06
8
9 --- a/AutoConf/makefile.inscip-debian debian bibtool 2.68+ds-3 bibtool/upstream/`AutoConf/makefile.in`:
10 +++ b/AutoConf/makefile.inscip-debian debian bibtool 2.68+ds-3 bibtool/upstream/`AutoConf/makefile.in`:
11 @@ -202,6 +202,24 @@
12 CXREF = cxref
13
14 # -------------------------------------------------------
15 +# TtH is a [La]TeX to HTML translator program.
16 +#
17 +
18 +TTH = tth
19 +
20 +# -------------------------------------------------------
21 +# HTML2text is a HTML-to-text converter program.
22 +#
23 +
24 +HTML2TEXT = html2text
25 +
26 +# -------------------------------------------------------
27 +# PDFLaTeX is a LaTeX composer program.
28 +#
29 +
30 +PDFLATEX = pdflatex -no-shell-escape -interaction=batchmode
31 +
32 +# -------------------------------------------------------
33 # Defines to support (non-ANSI) C compilers.
34 # For Solaris 2 you may have to define HAVE_STRING_H
35 # For some versions of Cygwin you may have to define
36 @@ -457,6 +475,8 @@
37 # The main target
38 # -----------------------------------------------------------------------------
39
40 +dh_auto_build_default: default changelog doc
41 +
42 default all: bibtool$(EXT)
43
44 bibtool$(EXT): $(OFILES) $(REGEX) $(KPATHSEA_STATIC)
45 @@ -486,6 +506,22 @@
46 .c$(OBJ):
47 $(CC) $(C_FLAGS) $(DONT_LINK) -c $< -o $@
48
49 +Changes.pdf: Changes.tex
50 + $(PDFLATEX) $<
51 +
52 +Changes.html: Changes.tex
53 + $(TTH) -r -u0 < $< > $@
54 +
55 +Changes.txt: Changes.html
56 + $(HTML2TEXT) -ascii $< | \
57 + sed \
58 + -e 's@BIBTEX@BibTeX@g' \
59 + -e 's@LATEX@LaTeX@g' \
60 + -e 's@TEX@TeX@g' \
61 + -e 's@BIBTOOL@BibTool@g' \
62 + -e 's@BIBTCL@BibTcl@g' \
63 + > $@
64 +
65 # __________________________________________________________________
66 # Include the makefile into the dependencies to force updates
67 # when the makefile is modified.
68 @@ -525,6 +561,8 @@
69
70 info:
71
72 +changelog: Changes.pdf Changes.html Changes.txt
73 +
74 test check: Test
75 Test:
76 (cd test; $(MAKE))