4 # Mark Huang <mlhuang@cs.princeton.edu>
5 # Copyright (C) 2006 The Trustees of Princeton University
7 # $Id: Makefile.in,v 1.6 2005/09/07 22:05:20 mlhuang Exp $
14 xmllint --valid --output $@ $<
16 # Compile it into other formats
17 FORMATS := dvi html man ps rtf tex texi txt
19 DOCBOOK2FLAGS := -V biblio-number=1
22 %.$(1): %.xml .%.xml.valid
23 docbook2$(1) --nochunks $$(DOCBOOK2FLAGS) $$<
26 # docbook2pdf craps out on figures
30 $(foreach format,$(FORMATS),$(eval $(call docbook2,$(format))))
33 rm -f $(patsubst %,*.%,$(FORMATS)) *.pdf .*.xml.valid