]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Move man pages to the same directory as the source code
authorGuillem Jover <guillem@hadrons.org>
Sat, 9 Jan 2010 19:17:16 +0000 (20:17 +0100)
committerGuillem Jover <guillem@hadrons.org>
Sun, 10 Jan 2010 12:36:38 +0000 (13:36 +0100)
This matches BSD style source tree, and makes it easier to see what's
missing.

17 files changed:
Makefile
src/.gitignore [moved from man/.gitignore with 100% similarity]
src/arc4random.3 [moved from man/arc4random.3 with 100% similarity]
src/arc4random_addrandom.3 [moved from man/arc4random_addrandom.3 with 100% similarity]
src/arc4random_stir.3 [moved from man/arc4random_stir.3 with 100% similarity]
src/fgetln.3 [moved from man/fgetln.3 with 100% similarity]
src/fmtcheck.3 [moved from man/fmtcheck.3 with 100% similarity]
src/getmode.3 [moved from man/getmode.3 with 100% similarity]
src/humanize_number.3 [moved from man/humanize_number.3 with 100% similarity]
src/mdX.3 [moved from man/mdX.3 with 100% similarity]
src/nlist.3 [moved from man/nlist.3 with 100% similarity]
src/readpassphrase.3 [moved from man/readpassphrase.3 with 100% similarity]
src/setmode.3 [moved from man/setmode.3 with 100% similarity]
src/strlcat.3 [moved from man/strlcat.3 with 100% similarity]
src/strlcpy.3 [moved from man/strlcpy.3 with 100% similarity]
src/strmode.3 [moved from man/strmode.3 with 100% similarity]
src/strtonum.3 [moved from man/strtonum.3 with 100% similarity]

index 7f165e7c6cedace490b63fef8e7037812470bcc4..2d51ba1c22dd793b0e152901c6924daf7413cb2f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -84,8 +84,8 @@ LIB_MANS := \
        getmode.3 \
        strmode.3 \
        $(LIB_MANS_GEN)
-LIB_MANS_GEN := $(patsubst %,man/%,$(LIB_MANS_GEN))
-LIB_MANS := $(patsubst %,man/%,$(LIB_MANS))
+LIB_MANS_GEN := $(patsubst %,src/%,$(LIB_MANS_GEN))
+LIB_MANS := $(patsubst %,src/%,$(LIB_MANS))
 
 LIB_STATIC_OBJS := $(LIB_SRCS:%.c=%.o)
 LIB_SHARED_OBJS := $(LIB_SRCS:%.c=%.lo)
@@ -115,7 +115,7 @@ man: $(LIB_MANS)
 %.o: %.c
        $(CC) -o $@ $(MK_CFLAGS) $(CFLAGS) -c $<
 
-man/md5.3bsd:  man/mdX.3
+src/md5.3bsd:  src/mdX.3
        sed -e 's/mdX/md5/g' -e 's/mdY/md4/g' -e 's/MDX/MD5/g' $< > $@
 
 src/hash/md5hl.c: src/hash/helper.c
similarity index 100%
rename from man/.gitignore
rename to src/.gitignore
similarity index 100%
rename from man/arc4random.3
rename to src/arc4random.3
similarity index 100%
rename from man/arc4random_stir.3
rename to src/arc4random_stir.3
similarity index 100%
rename from man/fgetln.3
rename to src/fgetln.3
similarity index 100%
rename from man/fmtcheck.3
rename to src/fmtcheck.3
similarity index 100%
rename from man/getmode.3
rename to src/getmode.3
similarity index 100%
rename from man/humanize_number.3
rename to src/humanize_number.3
similarity index 100%
rename from man/mdX.3
rename to src/mdX.3
similarity index 100%
rename from man/nlist.3
rename to src/nlist.3
similarity index 100%
rename from man/readpassphrase.3
rename to src/readpassphrase.3
similarity index 100%
rename from man/setmode.3
rename to src/setmode.3
similarity index 100%
rename from man/strlcat.3
rename to src/strlcat.3
similarity index 100%
rename from man/strlcpy.3
rename to src/strlcpy.3
similarity index 100%
rename from man/strmode.3
rename to src/strmode.3
similarity index 100%
rename from man/strtonum.3
rename to src/strtonum.3