Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6272f9e
)
pgraph: install extra (documention) files
author
Ferry Huberts
<ferry.huberts@pelagic.nl>
Fri, 17 May 2019 16:24:41 +0000
(18:24 +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/pgraph/Makefile
patch
|
blob
|
history
diff --git
a/lib/pgraph/Makefile
b/lib/pgraph/Makefile
index
0189f0c
..
1543b49
100644
(file)
--- 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: