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

« back to all changes in this revision

Viewing changes to doc/howto/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
28
30
 
29
31
TEXOTHERS =
30
32
 
31
 
TEXINPUTFILES =
 
33
TEXINPUTFILES = input
32
34
 
33
35
# Distributed files
34
36
 
67
69
 
68
70
install-pdf-local:
69
71
        $(MKDIR_P) "$(DESTDIR)$(pdfdir)"
70
 
        cp -p $(PDFMAIN) $(DESTDIR)$(pdfdir)
 
72
        $(INSTALL_DATA) $(PDFMAIN) $(DESTDIR)$(pdfdir)
71
73
 
72
74
distclean-local: clean-local
73
75
        -rm -f $(PDFMAIN)
 
76
 
 
77
# Generate the documentation at dist stage so that the user do not need
 
78
# to have LaTeX (and mandatory tools).
 
79
 
 
80
#dist-hook: pdf
 
81
#       $(INSTALL_DATA) $(PDFMAIN) $(distdir)
 
82
 
 
83
# Install the documentation if available
 
84
 
 
85
install-data-local:
 
86
        if test -f $(srcdir)/$(PDFMAIN); then \
 
87
          $(MKDIR_P) "$(DESTDIR)$(pdfdir)"; \
 
88
          $(INSTALL_DATA) $(srcdir)/$(PDFMAIN) $(DESTDIR)$(pdfdir); \
 
89
        fi
 
90
 
 
91
uninstall-local:
 
92
        @$(NORMAL_UNINSTALL)
 
93
        files=$(PDFMAIN); \
 
94
        test -d "$(DESTDIR)$(pdfdir)" || exit 0; \
 
95
        test -n "$$files" || exit 0; \
 
96
        echo " ( cd '$(DESTDIR)$(pdfdir)' && rm -f" $$files ")"; \
 
97
        cd "$(DESTDIR)$(pdfdir)" && rm -f $$files
 
98
        rmdir $(pdfdir) || exit 0