File: Makefile.am

package info (click to toggle)
code-saturne 5.3.2%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 76,868 kB
  • sloc: ansic: 338,582; f90: 118,487; python: 65,227; makefile: 4,429; cpp: 3,826; xml: 3,078; sh: 1,205; lex: 170; yacc: 100
file content (101 lines) | stat: -rw-r--r-- 2,847 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
## Process this file with automake to produce Makefile.in

#-------------------------------------------------------------------------------

# This file is part of Code_Saturne, a general-purpose CFD tool.
#
# Copyright (C) 1998-2018 EDF S.A.
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA 02110-1301, USA.

#-------------------------------------------------------------------------------

EXTRA_DIST = Doxyfile-pre Doxyfile-src Doxyfile-ui \
DoxygenLayout.xml doxypypy.py mainpage.h images examples

# Overload doxygen executable

if HAVE_DOXYGEN

DOXYGENCMD = export TEXINPUTS="$(abs_top_srcdir)/docs/style/$(cs_tex_path_end)"; \
  srcdir="$(top_srcdir)" builddir="$(top_builddir)" ple_docdir="$(ple_docdir)" \
  "$(DOXYGEN)"

doxygen-pre:
	$(DOXYGENCMD) $(top_srcdir)/docs/doxygen/Doxyfile-pre

doxygen-src:
	if test "$(ple_type)" = "internal" ; then \
	  cp $(top_builddir)/libple/doc/doxygen/html/ple.tag . ;\
	else \
	  cp $(ple_docdir)/doxygen/ple.tag . ;\
	fi ;\
	$(DOXYGENCMD) $(top_srcdir)/docs/doxygen/Doxyfile-src

doxygen-ui:
	$(DOXYGENCMD) $(top_srcdir)/docs/doxygen/Doxyfile-ui

doxygen: doxygen-src

html-local: doxygen

clean-local:
	for d in pre src ui ;\
	do \
	  if test -d $$d ;\
	  then \
	    (cd $$d && rm -rf html latex man index.bt) ;\
          fi ;\
	done ;\
	rm -f *.tag

endif

distclean-local:
	-rm -rf Makefile

# Generate the documentation at dist stage so that the user do not need
# to have Doxygen (and mandatory tools).

if HAVE_DOXYGEN

dist-hook: html
	\cp -R src/html $(distdir)/src

endif

install-data-local:
	if test -d $(srcdir)/src; then \
	  $(MKDIR_P) "$(DESTDIR)$(htmldir)/doxygen/src"; \
	  \cp -R $(srcdir)/src $(DESTDIR)$(htmldir)/doxygen/ ;\
	fi

install-html-local:
	$(MKDIR_P) "$(DESTDIR)$(htmldir)/doxygen"
	if test -d pre/html; \
	then \
		$(MKDIR_P) "$(DESTDIR)$(htmldir)/doxygen/pre"; \
	  \cp -R pre/html/* $(DESTDIR)$(htmldir)/doxygen/pre/ ;\
	fi ;\
	if test -d ui/html; \
	then \
		$(MKDIR_P) "$(DESTDIR)$(htmldir)/doxygen/ui"; \
	  \cp -R ui/html/*  $(DESTDIR)$(htmldir)/doxygen/ui/ ;\
	fi ;\
	$(MKDIR_P) "$(DESTDIR)$(htmldir)/doxygen/src"; \
	\cp -R src/html/* $(DESTDIR)$(htmldir)/doxygen/src/

uninstall-local:
	-rm -rf $(htmldir)/doxygen