File: module.mk

package info (click to toggle)
octave 4.4.1-4~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 114,692 kB
  • sloc: cpp: 310,009; ansic: 54,616; fortran: 22,631; yacc: 8,706; sh: 8,231; objc: 7,972; lex: 3,897; perl: 1,540; java: 1,309; awk: 1,070; makefile: 415; xml: 59
file content (74 lines) | stat: -rw-r--r-- 2,113 bytes parent folder | download | duplicates (3)
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
if AMCOND_BUILD_DOCS

refcard_TEX_SRC = \
  %reldir%/refcard.tex \
  %reldir%/refcard-a4.tex \
  %reldir%/refcard-legal.tex \
  %reldir%/refcard-letter.tex

refcard_DVI = \
  %reldir%/refcard-a4.dvi \
  %reldir%/refcard-legal.dvi \
  %reldir%/refcard-letter.dvi

refcard_PDF = \
  %reldir%/refcard-a4.pdf \
  %reldir%/refcard-legal.pdf \
  %reldir%/refcard-letter.pdf

refcard_PS = \
  %reldir%/refcard-letter.ps \
  %reldir%/refcard-a4.ps \
  %reldir%/refcard-legal.ps

refcard_FORMATTED = \
  $(refcard_DVI) \
  $(refcard_PDF) \
  $(refcard_PS)

DOC_TARGETS += \
  $(refcard_FORMATTED)

%reldir%/refcard-a4.pdf: %reldir%/refcard.tex
%reldir%/refcard-a4.dvi: %reldir%/refcard.tex
%reldir%/refcard-a4.ps: %reldir%/refcard-a4.dvi
	-$(AM_V_DVIPS)$(DVIPS) $(AM_V_texinfo) -T 297mm,210mm -o $@ $<

%reldir%/refcard-legal.pdf: %reldir%/refcard.tex
%reldir%/refcard-legal.dvi: %reldir%/refcard.tex
%reldir%/refcard-legal.ps: %reldir%/refcard-legal.dvi
	-$(AM_V_DVIPS)$(DVIPS) $(AM_V_texinfo) -T 14in,8.5in -o $@ $<

%reldir%/refcard-letter.pdf: %reldir%/refcard.tex
%reldir%/refcard-letter.dvi: %reldir%/refcard.tex
%reldir%/refcard-letter.ps: %reldir%/refcard-letter.dvi
	-$(AM_V_DVIPS)$(DVIPS) $(AM_V_texinfo) -T 11in,8.5in -o $@ $<

$(srcdir)/doc/interpreter/images.mk: $(srcdir)/doc/interpreter/config-images.sh $(srcdir)/doc/interpreter/images.awk $(srcdir)/doc/interpreter/images
	$(AM_V_GEN)$(SHELL) $(srcdir)/doc/interpreter/config-images.sh $(top_srcdir)

$(refcard_DVI) : %.dvi : %.tex | %reldir%/$(octave_dirstamp)
	-$(AM_V_TEX)cd $(@D) && \
	TEXINPUTS="$(abs_top_srcdir)/doc/refcard:$(TEXINPUTS):" \
	$(TEX) $(<F) $(AM_V_texidevnull)

$(refcard_PDF) : %.pdf : %.tex | %reldir%/$(octave_dirstamp)
	-$(AM_V_PDFTEX)cd $(@D) && \
	TEXINPUTS="$(abs_top_srcdir)/doc/refcard:$(TEXINPUTS):" \
	$(PDFTEX) $(<F) $(AM_V_texidevnull)

doc_EXTRA_DIST += \
  $(refcard_FORMATTED) \
  $(refcard_TEX_SRC)

doc_CLEANFILES += \
  %reldir%/refcard-a4.log \
  %reldir%/refcard-legal.log \
  %reldir%/refcard-letter.log

doc_MAINTAINERCLEANFILES += \
  $(refcard_FORMATTED)

DIRSTAMP_FILES += %reldir%/$(octave_dirstamp)

endif