diff --git a/cde/configure.ac b/cde/configure.ac index 77159e9bd..a8a66bf93 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -513,6 +513,7 @@ programs/dthelp/Makefile programs/dthelp/dthelpview/Makefile programs/dthelp/dthelpgen/Makefile programs/dthelp/dthelpdemo/Makefile +programs/dthelp/dthelpprint/Makefile programs/nsgmls/Makefile diff --git a/cde/lib/DtHelp/HelpXlate.h b/cde/lib/DtHelp/HelpXlate.h index 89908b298..af212c74d 100644 --- a/cde/lib/DtHelp/HelpXlate.h +++ b/cde/lib/DtHelp/HelpXlate.h @@ -41,8 +41,8 @@ #ifndef _DtHELP_XLATE_I #define _DtHELP_XLATE_I -#include -#include +#include
+#include
#ifdef __cplusplus extern "C" { diff --git a/cde/programs/dthelp/Makefile.am b/cde/programs/dthelp/Makefile.am index 810da52f5..970aa4116 100644 --- a/cde/programs/dthelp/Makefile.am +++ b/cde/programs/dthelp/Makefile.am @@ -1,5 +1,5 @@ MAINTAINERCLEANFILES = Makefile.in -SUBDIRS = dthelpview dthelpgen dthelpdemo +SUBDIRS = dthelpview dthelpgen dthelpdemo dthelpprint -#NOTYET = parser dthelpprint +#NOTYET = parser diff --git a/cde/programs/dthelp/dthelpprint/Makefile.am b/cde/programs/dthelp/dthelpprint/Makefile.am index 7ee85f0ec..8dca02139 100644 --- a/cde/programs/dthelp/dthelpprint/Makefile.am +++ b/cde/programs/dthelp/dthelpprint/Makefile.am @@ -1,9 +1,13 @@ -bin_PROGRAMS = dthelpprint dthelpprint.sh +MAINTAINERCLEANFILES = Makefile.in -dthelpprint_CPPFLAGS = -I.. -DCDE_CONFIGURATION_TOP='"${prefix}"' \ - -DCDE_INSTALLATION_TOP='"$(CDE_INSTALLATION_TOP)"' +bin_PROGRAMS = dthelpprint +bin_SCRIPTS = dthelpprint.sh -dthelpprint_LDADD = $(LIBSVC) $(LIBTT) $(LIBHELP) $(XTOOLLIB) ${X_LIBS} +dthelpprint_CPPFLAGS = -I.. -I ../../../lib/DtHelp \ + -DCDE_CONFIGURATION_TOP='"${prefix}"' \ + -DCDE_INSTALLATION_TOP='"$(CDE_INSTALLATION_TOP)"' + +dthelpprint_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB) if SOLARIS dthelpprint_LDADD += -lw -ldl -lgen -lm diff --git a/cde/programs/dthelp/dthelpprint/PrintTopics.c b/cde/programs/dthelp/dthelpprint/PrintTopics.c index 0d9959b98..6ef36ca47 100644 --- a/cde/programs/dthelp/dthelpprint/PrintTopics.c +++ b/cde/programs/dthelp/dthelpprint/PrintTopics.c @@ -58,15 +58,17 @@ $COPYRIGHT$: #include + #include "HelpPrintI.h" /* helpprint */ -#include "HelpTermP.h" /* from libDtHelp */ -#include "CanvasP.h" /* from libDtHelp */ +#include "DtI/HelpTermP.h" /* from libDtHelp */ +#include "Dt/CanvasP.h" /* from libDtHelp */ #include "StringFuncsI.h" /* from libDtHelp */ -#include "LocaleXlate.h" /* from libDtHelp */ -#include "bufioI.h" /* from libDtHelp; required for AccessI.h */ -#include "FileUtilsI.h" /* from libDtHelp */ +#include "Dt/LocaleXlate.h" /* from libDtHelp */ +#include "DtI/bufioI.h" /* from libDtHelp; required for AccessI.h */ +#include "DtI/FileUtilsI.h" /* from libDtHelp */ #include "GenUtilsP.h" /* from libDtHelp */ +#include "HelpXlate.h" /* from libDtHelp */ /*#include "AccessI.h" ** from libDtHelp */ /* I can't include AccessI.h because it redefines the Boolean type,