diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2011-01-19 10:06:55 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2011-01-19 10:06:55 -0500 |
commit | 3bb9256b8e3a56b94281ea787c07f080c0a80312 (patch) | |
tree | 64629aac758408c38144b2e64d229310ee7e64c1 /man/filenames.sed.c | |
parent | f9d0aa7ca56c68aee0ba53a9ad9c232c544264b0 (diff) |
config: move man pages into their own directory
Use services provided by XORG_MANPAGE_SECTIONS.
Use standard Makefile for man pages.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'man/filenames.sed.c')
-rw-r--r-- | man/filenames.sed.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/man/filenames.sed.c b/man/filenames.sed.c new file mode 100644 index 0000000..2db7845 --- /dev/null +++ b/man/filenames.sed.c @@ -0,0 +1,29 @@ +#include "sessreg.h" + +#ifdef UTMPX_FILE +# define UTF UTMPX_FILE +# define UTM utmpx +#else +# define UTF UTMP_FILE +# define UTM utmp +#endif + +#ifdef WTMPX_FILE +# define WTF WTMPX_FILE +#else +# define WTF WTMP_FILE +#endif + +#ifndef TTYS_FILE +# define TTYS_FILE "/etc/ttys" +#endif + +#ifndef LLOG_FILE +# define LLOG_FILE "/var/log/lastlog" +#endif + +s|__utmp_manpage__|UTM|g +s|__utmp_file__|UTF|g +s|__wtmp_file__|WTF|g +s|__ttys_file__|TTYS_FILE|g +s|__lastlog_file__|LLOG_FILE|g |