man: GPCP.3

all: GPCP.3 GPCP.txt GPCP.html

%.3: %.sgml
	docbook-to-man $^ > $@

%.txt: %.sgml
	sgmltools --backend=txt $<

%.html: %.sgml
	sgmltools --backend=html $<

clean:
	rm -f *~ GPCP.3 GPCP.txt
	rm -fr GPCP/

install:
