diff --git a/general.ent b/general.ent
index db0fd2be83..e0ac63256a 100644
--- a/general.ent
+++ b/general.ent
@@ -66,7 +66,7 @@ $Date$
-
+
diff --git a/general/graphlib/libjpeg-turbo.xml b/general/graphlib/libjpeg-turbo.xml
index afc890845c..31ccafa710 100644
--- a/general/graphlib/libjpeg-turbo.xml
+++ b/general/graphlib/libjpeg-turbo.xml
@@ -107,7 +107,9 @@ make
Now, as the root user:
-make exampledir=/usr/share/doc/libjpeg-turbo-&libjpeg-turbo-version; install
+docsdir=/usr/share/doc/libjpeg-turbo-&libjpeg-turbo-version; &&
+make docdir=$docsdir exampledir=$docsdir install &&
+unset docsdir