summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2010-01-09 20:17:16 +0100
committerGuillem Jover <guillem@hadrons.org>2010-01-10 13:36:38 +0100
commit57cc5326cf75826c5d3b415673e2574384d12850 (patch)
treee8ccb02672fe9442e11bcb1e29a841ab4983cb80 /Makefile
parent9e4adc4633b321bf4f3f41feeac7597162cf88f9 (diff)
downloadlibbsd-57cc5326cf75826c5d3b415673e2574384d12850.tar.gz
Move man pages to the same directory as the source code
This matches BSD style source tree, and makes it easier to see what's missing.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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