From: Guillem Jover Date: Sat, 26 Jul 2008 19:39:29 +0000 (+0300) Subject: Install md5.3 as md5.3bsd X-Git-Tag: 0.0.1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2d93325e6d073681c55f6959bed3a172bc15989;p=thirdparty%2Flibbsd.git Install md5.3 as md5.3bsd This man page is pretty common in other source projects, so we use a suffix to distinguish it. --- diff --git a/Makefile b/Makefile index 4759bcd..09a24d7 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ LIB_SRCS := \ LIB_SRCS := $(patsubst %,src/%,$(LIB_SRCS)) LIB_GEN_SRCS := \ - man/md5.3 \ + man/md5.3bsd \ src/hash/md5hl.c LIB_INCLUDES := \ @@ -61,7 +61,7 @@ LIB_MANS := \ fgetln.3 \ fmtcheck.3 \ setmode.3 \ - md5.3 + md5.3bsd LIB_MANS := $(patsubst %,man/%,$(LIB_MANS)) LIB_STATIC_OBJS := $(LIB_SRCS:%.c=%.o) @@ -92,7 +92,7 @@ man: $(LIB_MANS) %.o: %.c $(CC) -o $@ $(MK_CFLAGS) $(CFLAGS) -c $< -man/md5.3: man/mdX.3 +man/md5.3bsd: man/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