~ubuntu-branches/ubuntu/precise/code-saturne/precise

« back to all changes in this revision

Viewing changes to doc/user/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2011-11-24 00:00:08 UTC
  • mfrom: (6.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20111124000008-2vo99e38267942q5
Tags: 2.1.0-3
Install a missing file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#------------------------------------------------------------------------------
2
 
#   This file is part of the Code_Saturne Kernel, element of the
3
 
#   Code_Saturne CFD tool.
4
 
#
5
 
#   Copyright (C) 2009 EDF S.A., France
6
 
#
7
 
#   The Code_Saturne Kernel is free software; you can redistribute it
8
 
#   and/or modify it under the terms of the GNU General Public License
9
 
#   as published by the Free Software Foundation; either version 2 of
10
 
#   the License, or (at your option) any later version.
11
 
#
12
 
#   The Code_Saturne Kernel is distributed in the hope that it will be
13
 
#   useful, but WITHOUT ANY WARRANTY; without even the implied warranty
14
 
#   of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
#   GNU General Public License for more details.
16
 
#
17
 
#   You should have received a copy of the GNU General Public Licence
18
 
#   along with the Code_Saturne Kernel; if not, write to the
19
 
#   Free Software Foundation, Inc.,
20
 
#   51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
#-------------------------------------------------------------------------------
 
4
 
 
5
# This file is part of Code_Saturne, a general-purpose CFD tool.
 
6
#
 
7
# Copyright (C) 1998-2011 EDF S.A.
 
8
#
 
9
# This program is free software; you can redistribute it and/or modify it under
 
10
# the terms of the GNU General Public License as published by the Free Software
 
11
# Foundation; either version 2 of the License, or (at your option) any later
 
12
# version.
 
13
#
 
14
# This program is distributed in the hope that it will be useful, but WITHOUT
 
15
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
16
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 
17
# details.
 
18
#
 
19
# You should have received a copy of the GNU General Public License along with
 
20
# this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
 
21
# Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
22
 
21
23
#-------------------------------------------------------------------------------
22
24
 
23
25
# Main LaTeX document
27
29
# Other LaTex document
28
30
 
29
31
TEXOTHERS = \
30
 
a1_autovalid.tex \
31
32
biblio.tex \
32
33
saturne1.tex \
33
34
saturne2.tex \
34
35
summary.tex
35
36
 
36
 
TEXINPUTFILES = \
37
 
input/addstudy.xml \
38
 
input/autovalid.xml
 
37
TEXINPUTFILES =
39
38
 
40
39
# Distributed files
41
40
 
42
 
EXTRA_DIST = $(TEXMAIN) $(TEXOTHERS) $(TEXINPUTFILES)
 
41
EXTRA_DIST = $(TEXMAIN) $(TEXOTHERS) $(TEXINPUTFILES) input
43
42
 
44
43
# Subdirectories (order is important)
45
44
 
79
78
 
80
79
install-pdf-local:
81
80
        $(MKDIR_P) "$(DESTDIR)$(pdfdir)"
82
 
        cp -p $(PDFMAIN) $(DESTDIR)$(pdfdir)
 
81
        $(INSTALL_DATA) $(PDFMAIN) $(DESTDIR)$(pdfdir)
83
82
 
84
83
distclean-local: clean-local
85
84
        -rm -f $(PDFMAIN)
 
85
 
 
86
# Generate the documentation at dist stage so that the user do not need
 
87
# to have LaTeX (and mandatory tools).
 
88
 
 
89
dist-hook: pdf
 
90
        $(INSTALL_DATA) $(PDFMAIN) $(distdir)
 
91
 
 
92
# Install the documentation if available
 
93
 
 
94
install-data-local:
 
95
        @$(NORMAL_INSTALL)
 
96
        if test -f $(srcdir)/$(PDFMAIN); then \
 
97
          $(MKDIR_P) "$(DESTDIR)$(pdfdir)"; \
 
98
          $(INSTALL_DATA) $(srcdir)/$(PDFMAIN) $(DESTDIR)$(pdfdir); \
 
99
        fi
 
100
 
 
101
uninstall-local:
 
102
        @$(NORMAL_UNINSTALL)
 
103
        files=$(PDFMAIN); \
 
104
        test -d "$(DESTDIR)$(pdfdir)" || exit 0; \
 
105
        test -n "$$files" || exit 0; \
 
106
        echo " ( cd '$(DESTDIR)$(pdfdir)' && rm -f" $$files ")"; \
 
107
        cd "$(DESTDIR)$(pdfdir)" && rm -f $$files
 
108
        rmdir $(pdfdir) || exit 0