~ubuntu-branches/ubuntu/lucid/dblatex/lucid

« back to all changes in this revision

Viewing changes to docs/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Hoenen
  • Date: 2006-05-15 19:59:06 UTC
  • Revision ID: james.westby@ubuntu.com-20060515195906-jg9x08tsfbi35m2x
Tags: upstream-0.1.9
ImportĀ upstreamĀ versionĀ 0.1.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TABLES = $(wildcard table-eg*)
 
2
FIGURES = $(addsuffix .eps, $(basename $(wildcard *.fig)))
 
3
PWD = $(shell pwd)
 
4
TEXIN = $(shell echo ${TEXINPUTS})
 
5
CHANGES = $(notdir $(wildcard change*.sgml))
 
6
VERSION = devel
 
7
OPTS=
 
8
 
 
9
all: manual.pdf $(FIGURES)
 
10
 
 
11
allstyle: all native db2latex simple
 
12
 
 
13
clean:
 
14
        $(RM) manual.pdf $(EQUATIONS) $(FIGURES)
 
15
 
 
16
native db2latex simple: version.sgml
 
17
        ../scripts/dblatex -T $@ -o manual-$@.pdf manual.sgml
 
18
 
 
19
%.pdf: %.sgml version.sgml $(TABLES) $(FIGURES) $(EQUATIONS) $(CHANGES)
 
20
        TEXINPUTS=:$(PWD)/../latex//:$(TEXIN) \
 
21
        ../scripts/dblatex -S manual.specs $(OPTS) -o $@ $<
 
22
 
 
23
# Actual version of the release
 
24
version.sgml: FORCE
 
25
        echo $(VERSION) > $@
 
26
 
 
27
%.eps: %.fig
 
28
        fig2dev -L eps $< > $@
 
29
 
 
30
FORCE: