#
# Top level Makefile for TransFig
#
# to make fig2dev:         type "make"
#
#define IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'

DEPLIBS =
SUBDIRS = transfig fig2dev/dev fig2dev
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))

manual: 

transfig.man: ../doc/transfig.1
	ln -s ../doc/transfig.1 transfig.man
	cd doc/manual; make; latex manual; latex manual

clean::
	cd doc/manual; make clean
