diff options
author | Robin Krahl <me@robin-krahl.de> | 2016-06-06 18:20:10 +0200 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2016-06-06 18:20:10 +0200 |
commit | c96d948a4b76875c91848518aa2f55f2774a4118 (patch) | |
tree | fee967f78c6730df109682ade852f295c0b1dab0 /Makefile | |
parent | 1f0c7d966fdb31f62cf40eac9c39ae2b9e643366 (diff) | |
download | dbfp-c96d948a4b76875c91848518aa2f55f2774a4118.tar.gz dbfp-c96d948a4b76875c91848518aa2f55f2774a4118.tar.bz2 |
dbfp: add man pages for dbfp_init, dbfp_close
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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) |