From c36dc2cd252559a03b44d7f8d6ed6565ded2edc5 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 26 Jul 2009 18:24:40 +0200 Subject: [PATCH] Makefile: Add doxygen comment to the osl_errors enum. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 24fba19..c741cb9 100644 --- a/Makefile +++ b/Makefile @@ -146,11 +146,12 @@ $(realname): $(objects) $(CC) $(LDFLAGS) -o $@ $(objects) -lcrypto osl_errors.h: errlist + echo '/** public error codes of the osl library. */' > $@ sed -e 's/\([A-Z_]*\) .*/ E_OSL_\1/' \ -e '1s/^/enum osl_errors {/1' \ -e '1s/$$/=1/1' \ -e '$$!s/$$/,/g' \ - -e '$$s/$$/};/1' $< > $@ + -e '$$s/$$/};/1' $< >> $@ errtab.h: errlist sed -e 's/^\([A-Z_]*\)\s*\(.*\)/OSL_ERROR(E_OSL_\1, \2)/g' $< > $@ -- 2.39.2