mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 11:17:37 +01:00
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.
This commit is contained in:
parent
9e4adc4633
commit
57cc5326cf
6
Makefile
6
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
|
||||
|
0
man/.gitignore → src/.gitignore
vendored
0
man/.gitignore → src/.gitignore
vendored
Loading…
Reference in New Issue
Block a user