[go: up one dir, main page]

File: Makefile.am

package info (click to toggle)
fxt 0.3.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,128 kB
  • sloc: sh: 9,719; ansic: 8,139; perl: 3,284; asm: 598; makefile: 226
file content (43 lines) | stat: -rw-r--r-- 953 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

pkgdocdir = $(docdir)/@PACKAGE@

if LATEX
if EPSTOPDF
dist_pkgdoc_DATA = manuel.pdf

LOCAL_TEXSOURCES=manuel.tex paje.eps FxT.bib

doc: manuel.pdf

# See
# http://www.gnu.org/software/automake/manual/html_node/distcleancheck.html#distcleancheck
# for explications
manuel.pdf: $(LOCAL_TEXSOURCES)
	$(MAKE) $(AM_MAKEFLAGS) paje.pdf
	for f in $(LOCAL_TEXSOURCES) ; do \
		test -f $$f || $(LN_S) $(srcdir)/$$f $$f ; \
	done
	-MAKEFILES=LaTeX.mk $(MAKE) -f /dev/null MAKE="$(MAKE) -f /dev/null" $@
	touch $@

paje.pdf: paje.eps
	epstopdf --outfile=$@ $<

CLEANFILES=paje.pdf
DISTCLEANFILES=$(dist_doc_DATA)

clean-local: clean-latex
distclean distclean-generic: distclean-latex

clean-latex distclean-latex:: %-latex:
	-MAKEFILES=LaTeX.mk $(MAKE) -f /dev/null MAKE="$(MAKE) -f /dev/null" $*
	
distclean-latex::
	for f in $(LOCAL_TEXSOURCES) ; do \
		if test -h "$$f" ; then $(RM) "$$f" ; fi ; \
	done
	
EXTRA_DIST = manuel.tex paje.eps FxT.bib

endif
endif