documentation/images/Makefile
author Florian Pose <fp@igh-essen.com>
Fri, 04 Jul 2008 11:28:33 +0000
changeset 1089 7af3a96eca73
child 1094 eb0258e53236
permissions -rw-r--r--
Generate pdfs with makefile.
1089
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#-----------------------------------------------------------------------------
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
#
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
# $Id$
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
#
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
#-----------------------------------------------------------------------------
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
FIGS := \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
	architecture.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
	fmmus.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
	fsm-change.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
	fsm-coedown.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
	fsm-eoe.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
	fsm-idle.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
	fsm-op.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
	fsm-sii.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
	fsm-slaveconf.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
	fsm-slavescan.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
	interrupt.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
	master-locks.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
	masters.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
	phases.fig \
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    22
	statetrans.fig
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    23
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    24
PDFS = $(FIGS:.fig=.pdf)
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    26
all: $(PDFS)
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
%.pdf: %.fig
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    29
	fig2dev -L pdf -z A4 -p xxx -c $< $@	
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    30
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    31
clean:
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    32
	@rm -rv $(PDFS)
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    33
7af3a96eca73 Generate pdfs with makefile.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    34
#-----------------------------------------------------------------------------