X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=doc%2FMakefile;fp=doc%2FMakefile;h=0000000000000000000000000000000000000000;hb=9b135875e3f643894ae173f96af0272a3d74de45;hp=4308fac78122c6dd1487f6454a56cbcd27477a5d;hpb=b0099f5cc974e5bda24726d6fa2476a7e203060b;p=nodemanager.git diff --git a/doc/Makefile b/doc/Makefile deleted file mode 100644 index 4308fac..0000000 --- a/doc/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# -# (Re)builds API documentation -# -# Mark Huang -# Copyright (C) 2006 The Trustees of Princeton University -# -# $Id: Makefile,v 1.2 2006/11/03 20:36:05 thierry Exp $ -# - -all: NMAPI.html - -.NMAPI.xml.valid: Methods.xml - -Methods.xml: DocBook.py ../api_calls.py - PYTHONPATH=..:../../PLCAPI python $< > $@ - -# -# Documentation -# - -# Validate the XML -.%.xml.valid: %.xml - xmllint --valid --output $@ $< - -# Remove the temporary output file after compilation -.SECONDARY: .%.xml.valid - -# Compile it into other formats -FORMATS := dvi html man ps pdf rtf tex texi txt - -DOCBOOK2FLAGS := -V biblio-number=1 - -define docbook2 -%.$(1): %.xml .%.xml.valid - docbook2$(1) --nochunks $$(DOCBOOK2FLAGS) $$< -endef - -$(foreach format,$(FORMATS),$(eval $(call docbook2,$(format)))) - -clean: - rm -f $(patsubst %,*.%,$(FORMATS)) .*.xml.valid Methods.xml - -force: - -.PHONY: force clean docclean