install:
	mkdir -p $(prefix)/man/man3 | true
	sed "s,\[VERSION\],$(VERSION),g" < CGLI_Button.3 >$(prefix)/man/man3/CGLI_Button.3
	sed "s,\[VERSION\],$(VERSION),g" < CGLI_Button2D.3 >$(prefix)/man/man3/CGLI_Button2D.3
	sed "s,\[VERSION\],$(VERSION),g" < CGLI_ButtonTexture.3 >$(prefix)/man/man3/CGLI_ButtonTexture.3
	sed "s,\[VERSION\],$(VERSION),g" < CGLI_EditBox2D.3 >$(prefix)/man/man3/CGLI_EditBox2D.3
	sed "s,\[VERSION\],$(VERSION),g" < CGLI_Object.3 >$(prefix)/man/man3/CGLI_Object.3

uninstall:
	rm -f $(prefix)/man/man3/CGLI_Button.3
	rm -f $(prefix)/man/man3/CGLI_Button2D.3
	rm -f $(prefix)/man/man3/CGLI_ButtonTexture.3
	rm -f $(prefix)/man/man3/CGLI_EditBox2D.3
	rm -f $(prefix)/man/man3/CGLI_Object.3
