about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile9
-rw-r--r--doc/HISTORY3
2 files changed, 11 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 0d0d66b6..e727b00e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -266,7 +266,14 @@ init_package:
 	echo "Netpbm install package made by 'make package'" \
 	    >$(PKGDIR)/pkginfo
 	date >>$(PKGDIR)/pkginfo
-	echo Netpbm $(MAJOR).$(MINOR).$(POINT) >$(PKGDIR)/VERSION
+# For many years, the version string was "Netpbm x.y.z" instead of just
+# "x.y.z".  This was probably related to the fact that when you ask a Netpbm
+# program its version, it says "Netpbm x.y.z" to let you know it's the version
+# of the whole package, not just that program.  And also to distinguish from
+# the Pbmplus version of the program.  But this is highly unconventional in
+# pkg-config or config files, so we removed the "Netpbm" in Netpbm 10.90
+# (March 2020).
+	echo $(MAJOR).$(MINOR).$(POINT) >$(PKGDIR)/VERSION
 	$(INSTALL) -c -m 664 $(SRCDIR)/buildtools/README.pkg $(PKGDIR)/README
 	$(INSTALL) -c -m 664 $(SRCDIR)/buildtools/config_template \
 	  $(PKGDIR)/config_template
diff --git a/doc/HISTORY b/doc/HISTORY
index d6a51632..634ee16c 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -6,6 +6,9 @@ CHANGE HISTORY
 
 not yet  BJH  Release 10.90.00
 
+              Install: Use e.g. "10.90.00" for version in pkg-config and
+              config file, intead of e.g. "Netpbm 10.90.00".
+
               pamdice: Fix junk output when -width or -height not specified.
 
               libnetpbm: pm_getline, xvminitoppm, pamtris : Fix bug: crash