From 933c42590374b8c1bb0a92f5c093ab2902a9b93b Mon Sep 17 00:00:00 2001 From: Ferry Huberts Date: Fri, 17 May 2019 19:21:36 +0200 Subject: [PATCH] watchdog: install extra (documention) files Signed-off-by: Ferry Huberts --- lib/watchdog/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/watchdog/Makefile b/lib/watchdog/Makefile index 6b04cddf..021c775d 100644 --- a/lib/watchdog/Makefile +++ b/lib/watchdog/Makefile @@ -59,8 +59,16 @@ endif install: $(PLUGIN_FULLNAME) $(STRIP) $(PLUGIN_FULLNAME) $(INSTALL_LIB) +ifneq ($(DOCDIR_OLSRD),) + mkdir -p "$(DOCDIR_OLSRD)" + cp "README_WATCHDOG" "$(DOCDIR_OLSRD)" +endif uninstall: +ifneq ($(DOCDIR_OLSRD),) + rm -f "$(DOCDIR_OLSRD)/README_WATCHDOG" + rmdir -p --ignore-fail-on-non-empty "$(DOCDIR_OLSRD)" +endif $(UNINSTALL_LIB) clean: -- 2.20.1