Merge branch 'master' of github.com:periscop/openscop
[openscop.git] / doc / Makefile.am
blobcc4c2be9cb92741fb3ae54c2ffa78ff358e96234
2 #   /*+------------------------------------------------------------------**
3 #    **                       OpenScop Library                           **
4 #    **------------------------------------------------------------------**
5 #    **                         makefile.am                              **
6 #    **------------------------------------------------------------------**
7 #    **                   First version: 30/04/2008                      **
8 #    **------------------------------------------------------------------**
10 #   
11 # ***************************************************************************
12 # * OpenScop: Structures and formats for polyhedral tools to talk together  *
13 # ***************************************************************************
14 # *   ,___,,_,__,,__,,__,,__,,_,__,,_,__,,__,,___,_,__,,_,__,               *
15 # *   /   / /  //  //  //  // /   / /  //  //   / /  // /  /|,_,            *
16 # *  /   / /  //  //  //  // /   / /  //  //   / /  // /  / / /\            *
17 # * |~~~|~|~~~|~~~|~~~|~~~|~|~~~|~|~~~|~~~|~~~|~|~~~|~|~~~|/_/  \           *
18 # * | G |C| P | = | L | P |=| = |C| = | = | = |=| = |=| C |\  \ /\          *
19 # * | R |l| o | = | e | l |=| = |a| = | = | = |=| = |=| L | \# \ /\         *
20 # * | A |a| l | = | t | u |=| = |n| = | = | = |=| = |=| o | |\# \  \        *
21 # * | P |n| l | = | s | t |=| = |d| = | = | = | |   |=| o | | \# \  \       *
22 # * | H | | y |   | e | o | | = |l|   |   | = | |   | | G | |  \  \  \      *
23 # * | I | |   |   | e |   | |   | |   |   |   | |   | |   | |   \  \  \     *
24 # * | T | |   |   | e |   | |   | |   |   |   | |   | |   | |    \  \  \    *
25 # * | E | |   |   |   |   | |   | |   |   |   | |   | |   | |     \  \  \   *
26 # * | * |*| * | * | * | * |*| * |*| * | * | * |*| * |*| * | /      \* \  \  *
27 # * | O |p| e | n | S | c |o| p |-| L | i | b |r| a |r| y |/        \  \ /  *
28 # * '---'-'---'---'---'---'-'---'-'---'---'---'-'---'-'---'          '--'   *
29 # *                                                                         *
30 # * Copyright (C) 2008 University Paris-Sud and INRIA                       *
31 # *                                                                         *
32 # * (3-clause BSD license)                                                  *
33 # *                                                                         *
34 # * Redistribution and use in source  and binary forms, with or without     *
35 # * modification, are permitted provided that the following conditions      *
36 # * are met:                                                                *
37 # *                                                                         *
38 # * 1. Redistributions of source code must retain the above copyright       *
39 # *    notice, this list of conditions and the following disclaimer.        *
40 # * 2. Redistributions in binary form must reproduce the above copyright    *
41 # *    notice, this list of conditions and the following disclaimer in the  *
42 # *    documentation and/or other materials provided with the distribution. *
43 # * 3. The name of the author may not be used to endorse or promote         *
44 # *    products derived from this software without specific prior written   *
45 # *    permission.                                                          *
46 # *                                                                         *
47 # * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR    *
48 # * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED          *
49 # * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  *
50 # * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,      *
51 # * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES      *
52 # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR      *
53 # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)      *
54 # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,     *
55 # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING   *
56 # * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE      *
57 # * POSSIBILITY OF SUCH DAMAGE.                                             *
58 # *                                                                         *
59 # * OpenScop Library, a library to manipulate OpenScop formats and data     *
60 # * structures. Written by:                                                 *
61 # * Cedric Bastoul     <Cedric.Bastoul@u-psud.fr> and                       *
62 # * Louis-Noel Pouchet <Louis-Noel.pouchet@inria.fr>                        *
63 # *                                                                         *
64 # ***************************************************************************/
66 # Makefile.am (or makefile if generated) of the OpenScop Library.
67 # Makefile.am is not a makefile, you must run the 'autogen.sh' THEN the
68 # configure shellscript to generate the Makefile thanks to this file.
71 #############################################################################
73 MAINTAINERCLEANFILES    =                       \
74         Makefile.in                             \
75         htmldoc.tar.gz                          \
76         openscop.pdf                            \
77         openscop.cp                             \
78         openscop.fn                             \
79         openscop.info                           \
80         openscop.ky                             \
81         openscop.pg                             \
82         openscop.toc                            \
83         openscop.tp                             \
84         openscop.vr                             \
85         openscop.aux                            \
86         openscop.log                            \
87         openscop.doc
89 clean-local:
90         -rm -rf htmldoc
92 EXTRA_DIST              =                       \
93         htmldoc.tar.gz                          \
94         openscop.pdf                            \
95         S4.cloog                                \
96         images/basic.eps                        \
97         images/basic.fig                        \
98         images/basic.jpg                        \
99         images/basic.pdf                        \
100         images/basic.txt                        \
101         images/basic1.eps                       \
102         images/basic1.fig                       \
103         images/basic1.jpg                       \
104         images/basic1.pdf                       \
105         images/basic1.txt                       \
106         images/basic2.eps                       \
107         images/basic2.fig                       \
108         images/basic2.jpg                       \
109         images/basic2.pdf                       \
110         images/basic2.txt                       \
111         images/tree.eps                         \
112         images/tree.fig                         \
113         images/tree.jpg                         \
114         images/tree.pdf                         \
115         images/tree.txt
117 if GENERATE_DOC
118 # Unfortunately the following is not supported conditionaly
119 # info_TEXINFOS         = openscop.texi
121 openscop.pdf: openscop.texi                     \
122         images/basic.pdf                        \
123         images/basic1.pdf                       \
124         images/basic2.pdf                       \
125         images/tree.pdf
126         $(TEXI2PDF) openscop.texi
128 DOCDIR                  = htmldoc
129 DOXYFILE                = Doxyfile
130 DOXYGENTOOL             = @DOXYGEN@
132 # The following requires a fixed version of the Emacs 19.30 etags.
133 ETAGS_ARGS              = --lang=none \
134  --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/doc/openscop.texi
135 TAGS_DEPENDENCIES       = openscop.texi $(DOXYFILE).in
137 htmldoc.tar.gz:
138         mkdir -p $(top_srcdir)/doc/htmldoc
139         $(DOXYGENTOOL) $(DOXYFILE)
140         tar czf htmldoc.tar.gz htmldoc
141 endif