]> git.codecow.com Git - Monocypher.git/commitdiff
Man pages belong to $(DESTDIR)/$(PREFIX)/share/man/man3 folder
authorLoup Vaillant <loup@loup-vaillant.fr>
Sat, 23 Sep 2017 10:07:24 +0000 (12:07 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 23 Sep 2017 10:07:24 +0000 (12:07 +0200)
They were originally sent to the man3monocypher folder instead, but we
don't need that: their .3monocypher extension already takes care of
the disambiguation.  It also has the advantage of allowing the user to
search for the man page in section 3 directly.

32 files changed:
doc/man/man3/crypto_aead_lock.3monocypher [moved from doc/man/3monocypher/crypto_aead_lock.3monocypher with 100% similarity]
doc/man/man3/crypto_aead_unlock.3monocypher [moved from doc/man/3monocypher/crypto_aead_unlock.3monocypher with 100% similarity]
doc/man/man3/crypto_argon2i.3monocypher [moved from doc/man/3monocypher/crypto_argon2i.3monocypher with 100% similarity]
doc/man/man3/crypto_blake2b.3monocypher [moved from doc/man/3monocypher/crypto_blake2b.3monocypher with 100% similarity]
doc/man/man3/crypto_blake2b_final.3monocypher [moved from doc/man/3monocypher/crypto_blake2b_final.3monocypher with 100% similarity]
doc/man/man3/crypto_blake2b_general.3monocypher [moved from doc/man/3monocypher/crypto_blake2b_general.3monocypher with 100% similarity]
doc/man/man3/crypto_blake2b_general_init.3monocypher [moved from doc/man/3monocypher/crypto_blake2b_general_init.3monocypher with 100% similarity]
doc/man/man3/crypto_blake2b_init.3monocypher [moved from doc/man/3monocypher/crypto_blake2b_init.3monocypher with 100% similarity]
doc/man/man3/crypto_blake2b_update.3monocypher [moved from doc/man/3monocypher/crypto_blake2b_update.3monocypher with 100% similarity]
doc/man/man3/crypto_chacha20_H.3monocypher [moved from doc/man/3monocypher/crypto_chacha20_H.3monocypher with 100% similarity]
doc/man/man3/crypto_chacha20_encrypt.3monocypher [moved from doc/man/3monocypher/crypto_chacha20_encrypt.3monocypher with 100% similarity]
doc/man/man3/crypto_chacha20_init.3monocypher [moved from doc/man/3monocypher/crypto_chacha20_init.3monocypher with 100% similarity]
doc/man/man3/crypto_chacha20_set_ctr.3monocypher [moved from doc/man/3monocypher/crypto_chacha20_set_ctr.3monocypher with 100% similarity]
doc/man/man3/crypto_chacha20_stream.3monocypher [moved from doc/man/3monocypher/crypto_chacha20_stream.3monocypher with 100% similarity]
doc/man/man3/crypto_chacha20_x_init.3monocypher [moved from doc/man/3monocypher/crypto_chacha20_x_init.3monocypher with 100% similarity]
doc/man/man3/crypto_check.3monocypher [moved from doc/man/3monocypher/crypto_check.3monocypher with 100% similarity]
doc/man/man3/crypto_key_exchange.3monocypher [moved from doc/man/3monocypher/crypto_key_exchange.3monocypher with 100% similarity]
doc/man/man3/crypto_lock.3monocypher [moved from doc/man/3monocypher/crypto_lock.3monocypher with 100% similarity]
doc/man/man3/crypto_memcmp.3monocypher [moved from doc/man/3monocypher/crypto_memcmp.3monocypher with 100% similarity]
doc/man/man3/crypto_poly1305_auth.3monocypher [moved from doc/man/3monocypher/crypto_poly1305_auth.3monocypher with 100% similarity]
doc/man/man3/crypto_poly1305_final.3monocypher [moved from doc/man/3monocypher/crypto_poly1305_final.3monocypher with 100% similarity]
doc/man/man3/crypto_poly1305_init.3monocypher [moved from doc/man/3monocypher/crypto_poly1305_init.3monocypher with 100% similarity]
doc/man/man3/crypto_poly1305_update.3monocypher [moved from doc/man/3monocypher/crypto_poly1305_update.3monocypher with 100% similarity]
doc/man/man3/crypto_sign.3monocypher [moved from doc/man/3monocypher/crypto_sign.3monocypher with 100% similarity]
doc/man/man3/crypto_sign_public_key.3monocypher [moved from doc/man/3monocypher/crypto_sign_public_key.3monocypher with 100% similarity]
doc/man/man3/crypto_unlock.3monocypher [moved from doc/man/3monocypher/crypto_unlock.3monocypher with 100% similarity]
doc/man/man3/crypto_x25519.3monocypher [moved from doc/man/3monocypher/crypto_x25519.3monocypher with 100% similarity]
doc/man/man3/crypto_x25519_public_key.3monocypher [moved from doc/man/3monocypher/crypto_x25519_public_key.3monocypher with 100% similarity]
doc/man/man3/crypto_zerocmp.3monocypher [moved from doc/man/3monocypher/crypto_zerocmp.3monocypher with 100% similarity]
doc/man/man3/intro.3monocypher [moved from doc/man/3monocypher/intro.3monocypher with 100% similarity]
doc/man/man3/style.css [moved from doc/man/3monocypher/style.css with 100% similarity]
makefile

index 50b407b3be3d2be92602efdcf3562dcf404c92e5..43877bc4f0fa46ffab5e02c0b52c596286b2260a 100644 (file)
--- a/makefile
+++ b/makefile
@@ -22,7 +22,7 @@ CFLAGS= -pedantic -Wall -Wextra -O3 -march=native
 DESTDIR=
 PREFIX=usr/local
 PKGCONFIG=$(DESTDIR)usr/local/lib/pkgconfig
-MAN_DIR=$(DESTDIR)/$(PREFIX)/share/man/man3monocypher
+MAN_DIR=$(DESTDIR)/$(PREFIX)/share/man/man3
 
 .PHONY: all library static-library dynamic-library clean install test speed
 
@@ -45,7 +45,7 @@ install: library src/monocypher.h
        @echo 'Libs: -L$${libdir} -lmonocypher' >> /$(PKGCONFIG)/monocypher.pc
        @echo 'Cflags: -I$${includedir}'        >> /$(PKGCONFIG)/monocypher.pc
        mkdir -p $(MAN_DIR)
-       cp -r doc/man/3monocypher/* $(MAN_DIR)
+       cp -r doc/man/man3/* $(MAN_DIR)
        mandb
 
 library: static-library dynamic-library