From: Ferry Huberts Date: Fri, 17 May 2019 16:24:34 +0000 (+0200) Subject: p2pd: install extra (documention) files X-Git-Tag: v0.9.8~14 X-Git-Url: http://olsr.org/git/?p=olsrd.git;a=commitdiff_plain;h=6272f9e72f1653b727a1ba8ae536fc5585fcbe08 p2pd: install extra (documention) files Signed-off-by: Ferry Huberts --- diff --git a/lib/p2pd/Makefile b/lib/p2pd/Makefile index d28bc46b..cb721319 100644 --- a/lib/p2pd/Makefile +++ b/lib/p2pd/Makefile @@ -79,8 +79,16 @@ endif install: $(PLUGIN_FULLNAME) $(STRIP) $(PLUGIN_FULLNAME) $(INSTALL_LIB) +ifneq ($(DOCDIR_OLSRD),) + mkdir -p "$(DOCDIR_OLSRD)" + cp "README_P2PD" "$(DOCDIR_OLSRD)" +endif uninstall: +ifneq ($(DOCDIR_OLSRD),) + rm -f "$(DOCDIR_OLSRD)/README_P2PD" + rmdir -p --ignore-fail-on-non-empty "$(DOCDIR_OLSRD)" +endif $(UNINSTALL_LIB) clean: