~ubuntu-branches/ubuntu/wily/deal.ii/wily-proposed

« back to all changes in this revision

Viewing changes to .pc/srcdir.patch/doc/doxygen/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV, Adam C. Powell, IV, Denis Barbier
  • Date: 2010-07-29 13:47:01 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100729134701-qk60t2om7u7oklkb
Tags: 6.3.1-1
[ Adam C. Powell, IV ]
* Changed to source format 3.0 (quilt).
* Changed maintainer to debian-science with Adam Powell as uploader.
* Added source lintian overrides about Adam Powell's name.
* Added Vcs info on git repository.
* Bumped Standards-Version.
* Changed stamp-patch to patch target and fixed its application criterion.
* Moved make_dependencies and expand_instantiations to a versioned directory
  to avoid shlib package conflicts.

[ Denis Barbier ]
* New upstream release (closes: #562332).
  + Added libtbb support.
  + Forward-ported all patches.
* Updates for new PETSc version, including workaround for different versions
  of petsc and slepc.
* Add debian/watch.
* Update to debhelper 7.
* Added pdebuild patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: Makefile.in 21386 2010-06-27 18:03:38Z bangerth $
 
2
# $Name$
 
3
#
 
4
# Copyright (c) the deal.II authors 2003
 
5
 
 
6
###############################
 
7
# Configured variables
 
8
 
 
9
D     = @prefix@
 
10
include $D/common/Make.global_options
 
11
 
 
12
 
 
13
 
 
14
html: deal.tag
 
15
 
 
16
private:
 
17
        perl -pi -e 's/(EXTRACT_PRIVATE\s*=\s*)NO/$$1YES/;s/(INTERNAL_DOCS\s*=\s*)NO/$$1YES/;' options.dox
 
18
        $(MAKE) html
 
19
 
 
20
# Generate documentation. write the output to a file so as not to hide the
 
21
# important message to impatient observers that this process can take quite
 
22
# a while
 
23
#
 
24
# We have to fix up one case after doxygen runs: doxygen versions
 
25
# 1.6.2 and 1.6.3 (and only these versions) create output files for
 
26
# @page commands that contain underscores where the underscore is
 
27
# escaped by a second underscore (e.g. "step__1.html" instead of
 
28
# "step_1.html"). While all internal links from the doxygen output are
 
29
# correct, the links we have from the handwritten html files won't
 
30
# work any more this way. The simplest way to avoid this is to simply
 
31
# copy all such files to their alternative (traditional) name so that
 
32
# the external links still work (they will link to a different but
 
33
# equal file).
 
34
deal.II deal.tag: tutorial \
 
35
          deal.dox \
 
36
          $D/base/include/*/*.h \
 
37
          $D/lac/include/*/*.h \
 
38
          $D/deal.II/include/*/*.h \
 
39
          headers/*.h \
 
40
          $(addprefix tutorial/doxygen/, $(shell ls tutorial/doxygen/))
 
41
        @echo "=== Generating reference documentation. " \
 
42
              "This can take several minutes..."
 
43
        cat @DOXYGEN_OPTIONS@ deal.dox | @DOXYGEN@ - > doxygen.log
 
44
        @if test -f deal.II/step__1.html ; then \
 
45
           for i in deal.II/*__*html ; do \
 
46
             j="`echo $$i | sed s/__/_/g`" ; \
 
47
             cp $$i $$j ; \
 
48
           done ; \
 
49
          fi
 
50
        @cp deal.css deal.II
 
51
 
 
52
 
 
53
tutorial:
 
54
        @cd tutorial ; $(MAKE)
 
55
 
 
56
deal.dox: Makefile $(shell echo images ../../examples/*/doc ../news/*.h)
 
57
        @echo "=== Making $@"
 
58
        @echo "INPUT=`echo headers ../../{base,lac,deal.II}/include/* tutorial/doxygen ../news/*.h`" > $@
 
59
        @echo "IMAGE_PATH=`echo images ../../examples/*/doc`" >> $@
 
60
 
 
61
 
 
62
 
 
63
# validate cross references. there are so many html files in these
 
64
# directories that we can just call
 
65
#    $(PERL) $D/common/scripts/validate-xrefs.pl deal.II/*.html
 
66
# as this leads to error messages of the kind "/usr/bin/perl: Argument
 
67
# list too long". Instead, use a loop over all html files
 
68
validate-xrefs:
 
69
        @echo "--- Validating xrefs in doxygen/deal.II/ ---"
 
70
        @cd deal.II ; \
 
71
                for i in *.html ; do \
 
72
                        $(PERL) $D/common/scripts/validate-xrefs.pl $$i ; \
 
73
                done
 
74
 
 
75
# we have so many files that we can't just do "rm deal.II/*" because that
 
76
# leads to overlong command lines. gotta split it up
 
77
clean:
 
78
        -for i in deal.II/* ; do rm $$i ; done
 
79
        -rm *.tag
 
80
        @cd tutorial ; $(MAKE) clean
 
81
 
 
82
 
 
83
.PHONY: html tutorial private deal.II \
 
84
        validate-xrefs clean tutorial