Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55f3f91
)
txtinfo: install extra (documention) files
author
Ferry Huberts
<ferry.huberts@pelagic.nl>
Fri, 17 May 2019 17:21:30 +0000
(19:21 +0200)
committer
Ferry Huberts
<ferry.huberts@pelagic.nl>
Mon, 17 Jun 2019 21:04:50 +0000
(23:04 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/txtinfo/Makefile
patch
|
blob
|
history
diff --git
a/lib/txtinfo/Makefile
b/lib/txtinfo/Makefile
index
8e30530
..
a99974a
100644
(file)
--- a/
lib/txtinfo/Makefile
+++ b/
lib/txtinfo/Makefile
@@
-64,8
+64,16
@@
endif
install: $(PLUGIN_FULLNAME)
$(STRIP) $(PLUGIN_FULLNAME)
$(INSTALL_LIB)
+ifneq ($(DOCDIR_OLSRD),)
+ mkdir -p "$(DOCDIR_OLSRD)"
+ cp "README_TXTINFO" "$(DOCDIR_OLSRD)"
+endif
uninstall:
+ifneq ($(DOCDIR_OLSRD),)
+ rm -f "$(DOCDIR_OLSRD)/README_TXTINFO"
+ rmdir -p --ignore-fail-on-non-empty "$(DOCDIR_OLSRD)"
+endif
$(UNINSTALL_LIB)
clean: