Makfile: install also installs the man pages
authorNiki Roo <niki@nikiroo.be>
Thu, 29 Mar 2018 06:17:41 +0000 (08:17 +0200)
committerNiki Roo <niki@nikiroo.be>
Thu, 29 Mar 2018 06:17:41 +0000 (08:17 +0200)
Makefile.base

index ba407111c6307d6384ad5e800d6d95083670af6b..586c38e377fa9b0016081361d1c3d336b57ab5f2 100644 (file)
@@ -188,6 +188,9 @@ install:
        echo "#!/bin/sh" > "$(PREFIX)/bin/$(NAME)"
        echo "$(RJAR) $(RJAR_FLAGS) \"$(PREFIX)/lib/$(NAME).jar\" \"\$$@\"" >> "$(PREFIX)/bin/$(NAME)"
        chmod a+rx "$(PREFIX)/bin/$(NAME)"
+       if [ -e "man/man1/$(NAME).1" ]; then \
+               cp -r man/ "$(PREFIX)"/share/; \
+       fi
 
 android: android/app/src