]> git.codecow.com Git - Monocypher.git/commitdiff
Install advanced man pages
authorLoup Vaillant <loup@loup-vaillant.fr>
Tue, 25 May 2021 18:11:47 +0000 (20:11 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Tue, 25 May 2021 18:11:47 +0000 (20:11 +0200)
Note that deprecated man pages are omitted.
I believe we should not clutter man pages with them.
Advanced functions however should have their place in the user manual.

makefile

index 68bbe052f79ab2e2ec4d9f4ed70eac02b39f5178..1c7b1a5749e87f5cccdf254b48cd79d6feeedd8c 100644 (file)
--- a/makefile
+++ b/makefile
@@ -87,7 +87,8 @@ install: library src/monocypher.h monocypher.pc install-doc
 
 install-doc:
        mkdir -p $(DESTDIR)/$(MANDIR)
-       cp -PR doc/man/man3/*.3monocypher $(DESTDIR)/$(MANDIR)
+       cp -PR doc/man/man3/*.3monocypher          $(DESTDIR)/$(MANDIR)
+       cp -PR doc/man/man3/advanced/*.3monocypher $(DESTDIR)/$(MANDIR)
 ifdef USE_ED25519
        cp -PR doc/man/man3/optional/*.3monocypher $(DESTDIR)/$(MANDIR)
 endif