From a1539043eae054da13493ad5a94e81179e273082 Mon Sep 17 00:00:00 2001 From: Ferry Huberts Date: Fri, 17 May 2019 18:22:57 +0200 Subject: [PATCH] dotdraw: install extra (documention) files Signed-off-by: Ferry Huberts --- lib/dot_draw/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/dot_draw/Makefile b/lib/dot_draw/Makefile index 72fff7f5..b2281f42 100644 --- a/lib/dot_draw/Makefile +++ b/lib/dot_draw/Makefile @@ -61,8 +61,16 @@ endif install: $(PLUGIN_FULLNAME) $(STRIP) $(PLUGIN_FULLNAME) $(INSTALL_LIB) +ifneq ($(DOCDIR_OLSRD),) + mkdir -p "$(DOCDIR_OLSRD)" + cp -t "$(DOCDIR_OLSRD)" "README_DOT_DRAW" "olsr-topology-view.pl" +endif uninstall: +ifneq ($(DOCDIR_OLSRD),) + rm -f "$(DOCDIR_OLSRD)/README_DOT_DRAW" "$(DOCDIR_OLSRD)/olsr-topology-view.pl" + rmdir -p --ignore-fail-on-non-empty "$(DOCDIR_OLSRD)" +endif $(UNINSTALL_LIB) clean: -- 2.20.1