diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-28 18:57:31 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-28 18:57:31 +0000 |
commit | 4a85145c79815ddda6b35fbdacddd5665d12ac97 (patch) | |
tree | 53a3e02d52e92403b80d19c0ef3ef7ca1aedb982 /att.c | |
parent | eb9e2934b8348c51d01cc87f4d2ab21263627cf3 (diff) | |
download | mandoc-4a85145c79815ddda6b35fbdacddd5665d12ac97.tar.gz |
AT&T is unlikely to release an new version of Research UNIX any time soon.
So, it's pointless to make adding version strings easy for downstream.
One source file less to maintain.
Diffstat (limited to 'att.c')
-rw-r--r-- | att.c | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -17,21 +17,33 @@ #include "config.h" #include <sys/types.h> - #include <string.h> #include "mdoc.h" #include "libmdoc.h" #define LINE(x, y) \ - if (0 == strcmp(p, x)) return(y); + if (0 == strcmp(p, x)) return(y) const char * mdoc_a2att(const char *p) { -#include "att.in" + LINE("v1", "Version\\~1 AT&T UNIX"); + LINE("v2", "Version\\~2 AT&T UNIX"); + LINE("v3", "Version\\~3 AT&T UNIX"); + LINE("v4", "Version\\~4 AT&T UNIX"); + LINE("v5", "Version\\~5 AT&T UNIX"); + LINE("v6", "Version\\~6 AT&T UNIX"); + LINE("v7", "Version\\~7 AT&T UNIX"); + LINE("32v", "Version\\~32V AT&T UNIX"); + LINE("III", "AT&T System\\~III UNIX"); + LINE("V", "AT&T System\\~V UNIX"); + LINE("V.1", "AT&T System\\~V Release\\~1 UNIX"); + LINE("V.2", "AT&T System\\~V Release\\~2 UNIX"); + LINE("V.3", "AT&T System\\~V Release\\~3 UNIX"); + LINE("V.4", "AT&T System\\~V Release\\~4 UNIX"); return(NULL); } |