Busca os arquivos de ajuda no diretório instalado.
[cascardo/declara.git] / lib / help.c
index 66573ba..39a53e1 100644 (file)
 #include "cmd.h"
 #include "util.h"
 
-static const char *helpdir = "help";
+#ifndef DOCDIR
+#define DOCDIR "help"
+#endif
+
+static const char *helpdir = DOCDIR;
 
 static int run_help(struct declaracao *dec, char **args, int argc)
 {