diff --git a/sbin/atm/atmconfig/Makefile b/sbin/atm/atmconfig/Makefile index 40134fc117e7..8317b82b8566 100644 --- a/sbin/atm/atmconfig/Makefile +++ b/sbin/atm/atmconfig/Makefile @@ -8,6 +8,7 @@ PROG= atmconfig SRCS= main.c diag.c natm.c MAN= atmconfig.8 +# CFLAGS+= -DPATH_HELP='".:/usr/share/doc/atm:/usr/local/share/doc/atm"' .if ${MACHINE_ARCH} == "arm" WARNS?= 3 diff --git a/sbin/atm/atmconfig/private.h b/sbin/atm/atmconfig/private.h index 4b1606044154..7677d6b0d4e3 100644 --- a/sbin/atm/atmconfig/private.h +++ b/sbin/atm/atmconfig/private.h @@ -42,8 +42,15 @@ #include #include -#define PATH_HELP ".:/usr/share/doc/atm" +#ifndef PATH_HELP +#define PATH_HELP "/usr/share/doc/atm:/usr/local/share/doc/atm" +#endif +#ifndef FILE_HELP #define FILE_HELP "atmconfig.help" +#endif +#ifndef FILE_HELP_OTHERS +#define FILE_HELP_OTHERS "atmconfig_*.help" +#endif /* * Builtin commands