triggerhappy: moved to github
[openwrt.org/packages.git] / libs / 1007_update_Doxyfile.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Description: Update Doxyfile and header template
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2010-02-28
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -25,6 +25,7 @@ libsrtpdoc: 
                echo "*** Sorry, can't build doc outside source dir"; exit 1; \
        fi
        sed 's/LIBSRTPVERSION/$(version)/' header.template > header.tex
+       doxygen -u
        doxygen
        sed 's/\subsection/\section/' latex/index.tex > latex/index.tmp
        mv latex/index.tmp latex/index.tex
@@ -38,7 +39,7 @@ cryptodoc: clean
        cp latex/refman.pdf crypto.pdf
 
 clean:
-       rm -rf latex/ header.tex
+       rm -rf latex/ header.tex Doxyfile.bak
        for a in * ; do                                 \
               if [ -f "$$a~" ] ; then rm -f $$a~; fi;  \
         done;
--- a/doc/header.template
+++ b/doc/header.template
@@ -6,28 +6,40 @@
 % 
 \documentclass[letterpaper]{book}
 \usepackage{makeidx}
-\usepackage{fancyhdr}
 \usepackage{graphicx}
 \usepackage{multicol}
 \usepackage{float}
+\usepackage{listings}
+\usepackage{color}
+\usepackage{ifthen}
+\usepackage[table]{xcolor}
 \usepackage{textcomp}
 \usepackage{alltt}
-\usepackage{times}
-\usepackage{graphicx}
-\ifx\pdfoutput\undefined
-\usepackage[ps2pdf,
+\usepackage{ifpdf}
+\ifpdf
+\usepackage[pdftex,
             pagebackref=true,
             colorlinks=true,
-            linkcolor=blue
+            linkcolor=blue,
+            unicode
            ]{hyperref}
 \else
-\usepackage[pdftex,
+\usepackage[ps2pdf,
             pagebackref=true,
             colorlinks=true,
-            linkcolor=blue
+            linkcolor=blue,
+            unicode
            ]{hyperref}
+\usepackage{pspicture}
 \fi
+\usepackage[utf8]{inputenc}
+\usepackage{mathptmx}
+\usepackage[scaled=.90]{helvet}
+\usepackage{courier}
+\usepackage{sectsty}
+\usepackage[titles]{tocloft}
 \usepackage{doxygen}
+\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=3,numbers=left }
 \makeindex
 \setcounter{tocdepth}{1}
 \renewcommand{\footrulewidth}{0.4pt}
@@ -59,7 +71,9 @@
 \selectfont
 
 
+\renewcommand{\familydefault}{\sfdefault}
 \begin{document}
+\hypersetup{pageanchor=false}
 \begin{titlepage}
 \vspace*{4cm}
 %\begin{center}
@@ -107,9 +121,6 @@ This reference material in this documena
 \clearemptydoublepage
 \pagenumbering{roman}
 \tableofcontents
-%\clearemptydoublepage
-
 \clearemptydoublepage
 \pagenumbering{arabic}
-
-
+\hypersetup{pageanchor=true}
 
comments