File: Makefile.am

package info (click to toggle)
ginac 1.0.8-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,544 kB
  • ctags: 3,232
  • sloc: cpp: 27,732; sh: 7,126; perl: 1,819; yacc: 763; lex: 345; makefile: 221; sed: 32
file content (53 lines) | stat: -rw-r--r-- 1,443 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
## Process this file with automake to produce Makefile.in

# Graphics file conversion
FIG = classhierarchy.fig repnaive.fig reppair.fig repreal.fig
PNG = $(addsuffix .png, $(basename $(FIG)))
EPS = $(addsuffix .eps, $(basename $(FIG)))
TXT = $(addsuffix .txt, $(basename $(FIG)))

SUFFIXES = .fig .png .eps .txt

.fig.eps:
	@if [ "${FIG2DEV}" ]; then \
	  echo "Running ${FIG2DEV} -L eps -m 0.9 $< $@..."; \
	  ${FIG2DEV} -L eps -m 0.9 $< $@; \
	else \
	  echo "warning: fig2dev was not found by configure"; \
	fi

.fig.png:
	@if [ "${FIG2DEV}" ]; then \
	  echo "Running ${FIG2DEV} -L png $< $@..."; \
	  ${FIG2DEV} -L png $< $@; \
	else \
	  echo "warning: fig2dev was not found by configure"; \
	fi

info_TEXINFOS = ginac.texi

ginac.dvi: $(EPS)

ginac.html: ginac.texi version.texi $(PNG)
	$(MAKEINFO) --html $< -I ${srcdir}

ginactutorialdir = `test -z "@TUTORIAL_TARGETS@" || echo @datadir@/doc/GiNaC/tutorial`
ginactutorial_DATA = @TUTORIAL_TARGETS@

CLEANFILES = $(EPS) $(PNG) ginac.html
EXTRA_DIST = $(FIG) $(TXT)

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(ginactutorialdir)
	@for p in $(PNG); do \
          if [ -f $$p ]; then \
	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p"; \
	    $(INSTALL_DATA) $$p $(DESTDIR)$(ginactutorialdir)/$$p; \
	  fi; \
	done

uninstall-local:
	@for p in $(PNG); do \
	  echo " rm -f $(DESTDIR)$(ginactutorialdir)/$$p"; \
	  rm -f $(DESTDIR)$(ginactutorialdir)/$$p; \
	done