1man_MANS = memcached.1 2 3SPECIFICATIONS = protocol-binary.txt protocol-binary-range.txt 4 5EXTRA_DIST = $(srcdir)/*.txt 6 7# When we make dist always include the generated specifications so people don't 8# have to have xml2rfc and xsltproc installed 9EXTRA_DIST += $(SPECIFICATIONS) 10 11BUILT_SOURCES = 12MOSTLYCLEANFILES = 13#if BUILD_SPECIFICATIONS 14#BUILT_SOURCES += $(SPECIFICATIONS) 15#MOSTLYCLEANFILES += $(SPECIFICATIONS) 16#endif 17 18#RFC2629_XSL = $(srcdir)/xml2rfc/rfc2629-noinc.xsl 19#RFC2629_DTD = $(srcdir)/xml2rfc/rfc2629.dtd 20 21#%.txt: %.full $(RFC2629_DTD) 22# @XML2RFC@ -d $(RFC2629_DTD) -c $(builddir) $< $@ 23# 24#%.full: %.xml $(RFC2629_XSL) 25# @XSLTPROC@ --nonet $(RFC2629_XSL) $< > $@ 26 27# Prevent make from deleting intermediate files 28#all-full: $(SPECIFICATIONS:.txt=.full) 29 30#clean-local: 31# rm -f $(SPECIFICATIONS:.txt=.full) 32 33#.PHONY: all-full 34