diff --git a/Makefile b/Makefile index 7f165e7..2d51ba1 100644 --- 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 diff --git a/man/.gitignore b/src/.gitignore similarity index 100% rename from man/.gitignore rename to src/.gitignore diff --git a/man/arc4random.3 b/src/arc4random.3 similarity index 100% rename from man/arc4random.3 rename to src/arc4random.3 diff --git a/man/arc4random_addrandom.3 b/src/arc4random_addrandom.3 similarity index 100% rename from man/arc4random_addrandom.3 rename to src/arc4random_addrandom.3 diff --git a/man/arc4random_stir.3 b/src/arc4random_stir.3 similarity index 100% rename from man/arc4random_stir.3 rename to src/arc4random_stir.3 diff --git a/man/fgetln.3 b/src/fgetln.3 similarity index 100% rename from man/fgetln.3 rename to src/fgetln.3 diff --git a/man/fmtcheck.3 b/src/fmtcheck.3 similarity index 100% rename from man/fmtcheck.3 rename to src/fmtcheck.3 diff --git a/man/getmode.3 b/src/getmode.3 similarity index 100% rename from man/getmode.3 rename to src/getmode.3 diff --git a/man/humanize_number.3 b/src/humanize_number.3 similarity index 100% rename from man/humanize_number.3 rename to src/humanize_number.3 diff --git a/man/mdX.3 b/src/mdX.3 similarity index 100% rename from man/mdX.3 rename to src/mdX.3 diff --git a/man/nlist.3 b/src/nlist.3 similarity index 100% rename from man/nlist.3 rename to src/nlist.3 diff --git a/man/readpassphrase.3 b/src/readpassphrase.3 similarity index 100% rename from man/readpassphrase.3 rename to src/readpassphrase.3 diff --git a/man/setmode.3 b/src/setmode.3 similarity index 100% rename from man/setmode.3 rename to src/setmode.3 diff --git a/man/strlcat.3 b/src/strlcat.3 similarity index 100% rename from man/strlcat.3 rename to src/strlcat.3 diff --git a/man/strlcpy.3 b/src/strlcpy.3 similarity index 100% rename from man/strlcpy.3 rename to src/strlcpy.3 diff --git a/man/strmode.3 b/src/strmode.3 similarity index 100% rename from man/strmode.3 rename to src/strmode.3 diff --git a/man/strtonum.3 b/src/strtonum.3 similarity index 100% rename from man/strtonum.3 rename to src/strtonum.3