-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
66 lines (55 loc) · 1.12 KB
/
Makefile.am
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
###########################################################
# Autoconf substitutions
###########################################################
LATEX=@LATEX@
DVIPS=@DVIPS@
DVIPDF=@DVIPDF@
DOXYGEN=@DOXYGEN@
#
# Rules for building dvi ps and pdf out of tex
#
SUFFIXES =.tex .dvi .ps .pdf
.tex.dvi:
$(LATEX) $<
$(LATEX) $<
.dvi.ps:
$(DVIPS) $< -o $@
.dvi.pdf:
$(DVIPDF) $<
#
# Install time docdir
#
docdir = @prefix@/docs
#
# Documentation targets -- apart from doxygen, the rules above should be able
# to make everything
#
doc_DATA = manual.ps manual.pdf manual.dvi quick_ref.ps quick_ref.pdf quick_ref.dvi doxygen
#
# This will run doxygen
#
doxygen:
$(DOXYGEN) qdpdoc
#
# Modify the install hook, so we can install directories
#
install-docDATA:
mkdir -p $(docdir)
cp *.ps *.dvi *.pdf $(docdir)
cp -r ./doxygen $(docdir)/doxygen
#
# Likewise uninstall
#
uninstall-docDATA:
cd $(docdir) ; rm -rf *.ps *.pdf *.dvi
cd $(docdir) ; rm -rf doxygen
#
# Local clean
#
clean:
rm -rf doxygen
rm -rf *.toc *.lof *.log *.aux *.ps *.dvi *.pdf
#
# Clean everything (uninstall and then local clean)
#
distclean: clean uninstall-docDATA