1
#------------------------------------------------------------------------------
2
# This file is part of the Code_Saturne Kernel, element of the
3
# Code_Saturne CFD tool.
5
# Copyright (C) 2009 EDF S.A., France
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.
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.
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
3
#-------------------------------------------------------------------------------
5
# This file is part of Code_Saturne, a general-purpose CFD tool.
7
# Copyright (C) 1998-2011 EDF S.A.
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
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
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.
21
23
#-------------------------------------------------------------------------------
23
25
# Main LaTeX document
69
71
$(MKDIR_P) "$(DESTDIR)$(pdfdir)"
70
cp -p $(PDFMAIN) $(DESTDIR)$(pdfdir)
72
$(INSTALL_DATA) $(PDFMAIN) $(DESTDIR)$(pdfdir)
72
74
distclean-local: clean-local
77
# Generate the documentation at dist stage so that the user do not need
78
# to have LaTeX (and mandatory tools).
81
$(INSTALL_DATA) $(PDFMAIN) $(distdir)
83
# Install the documentation if available
86
if test -f $(srcdir)/$(PDFMAIN); then \
87
$(MKDIR_P) "$(DESTDIR)$(pdfdir)"; \
88
$(INSTALL_DATA) $(srcdir)/$(PDFMAIN) $(DESTDIR)$(pdfdir); \
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