From c96d948a4b76875c91848518aa2f55f2774a4118 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 6 Jun 2016 18:20:10 +0200 Subject: dbfp: add man pages for dbfp_init, dbfp_close --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9b79245..7e380e6 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,9 @@ CHECK_LDLIBS = $(shell pkg-config check --libs) CURL_LDLIBS = -lcurl EXPAT_LDLIBS = -lexpat -.PHONY: all check clean memcheck +VERSION = "0.1.0" + +.PHONY: all check clean doc memcheck all: libdbfp.so @@ -26,9 +28,17 @@ clean: $(RM) dbfp_check $(RM) dbfp.o dbfp_check.o +doc: man/dbfp_close.3 man/dbfp_init.3 + memcheck: libdbfp.so dbfp_check LD_LIBRARY_PATH=. CK_FORK=no valgrind --tool=memcheck ./dbfp_check +man/dbfp_close.3: man/dbfp_close.pod + pod2man -c "DB timetable API" -n "DBFP_CLOSE" -r $(VERSION) -s 3 $^ > $@ + +man/dbfp_init.3: man/dbfp_init.pod + pod2man -c "DB timetable API" -n "DBFP_INIT" -r $(VERSION) -s 3 $^ > $@ + libdbfp.so: LDFLAGS += -shared libdbfp.so: LDLIBS += $(CURL_LDLIBS) libdbfp.so: LDLIBS += $(EXPAT_LDLIBS) -- cgit v1.2.3