about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile1
-rw-r--r--config.mk.in5
-rw-r--r--doc/HISTORY3
3 files changed, 8 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 80d4b5b0..4be3c7c8 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -171,6 +171,7 @@ ifeq ($(DONT_HAVE_PROCESS_MGMT),Y)
 else
 	echo "#define HAVE_FORK 1" >>$@
 endif
+	echo '#define RGB_DB_PATH "$(RGB_DB_PATH)"' >>$@
 	echo '/* pm_config.h.in FOLLOWS ... */' >>$@
 	cat $(SRCDIR)/pm_config.in.h >>$@
 	$(ENDIANGEN) >>$@
diff --git a/config.mk.in b/config.mk.in
index 09195b20..a59006e7 100644
--- a/config.mk.in
+++ b/config.mk.in
@@ -652,8 +652,11 @@ DLLVER =
 #library, and file type.  E.g. The documentation for jpegtopnm might be in
 #http://netpbm.sourceforge.net/doc/jpegtopnm.html .  This value gets
 #installed in the man pages (which say no more than to read the webpage)
-#and in the Webman netpbm.url file.
+#and in the Manweb netpbm.url file.
 NETPBM_DOCURL = http://netpbm.sourceforge.net/doc/
 #For a system with no web access, but a local copy of the doc:
 #NETPBM_DOCURL = file:/usr/doc/netpbm/
 
+# RGB_DB_PATH is where Netpbm looks for the color database when the RGBDEF
+# environment variable is not set.  See pm_config_in.h for details.
+RGB_DB_PATH = /usr/share/netpbm/rgb.txt:/usr/lib/X11/rgb.txt:/usr/share/X11/rgb.txt:/usr/X11R6/lib/X11/rgb.txt
diff --git a/doc/HISTORY b/doc/HISTORY
index 883ed200..c0ba9751 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -85,6 +85,9 @@ not yet  BJH  Release 10.68.00
               Windows build: include an icon in every executable.  The icon
               was designed by Ron Vantreese (ait_frog-netpbm@yahoo.com).
 
+              Build: provide means of setting the default search path for
+              rgb.txt color database via config.mk.
+
               Build: fix bug in which null value is not taken to mean
               "in the system search path" for JBIGHDR_DIR and JASPERHDR_DIR.