From: Ferry Huberts Date: Fri, 17 May 2019 16:24:41 +0000 (+0200) Subject: pgraph: install extra (documention) files X-Git-Tag: v0.9.8~13 X-Git-Url: http://olsr.org/git/?p=olsrd.git;a=commitdiff_plain;h=844a441940a702b54c316955352f1504b5466d03 pgraph: install extra (documention) files Signed-off-by: Ferry Huberts --- diff --git a/lib/pgraph/Makefile b/lib/pgraph/Makefile index 0189f0cc..1543b491 100644 --- a/lib/pgraph/Makefile +++ b/lib/pgraph/Makefile @@ -59,8 +59,16 @@ endif install: $(PLUGIN_FULLNAME) $(STRIP) $(PLUGIN_FULLNAME) $(INSTALL_LIB) +ifneq ($(DOCDIR_OLSRD),) + mkdir -p "$(DOCDIR_OLSRD)" + cp "README_PGRAPH" "$(DOCDIR_OLSRD)" +endif uninstall: +ifneq ($(DOCDIR_OLSRD),) + rm -f "$(DOCDIR_OLSRD)/README_PGRAPH" + rmdir -p --ignore-fail-on-non-empty "$(DOCDIR_OLSRD)" +endif $(UNINSTALL_LIB) clean: