Hi,

this (necessary) patch fixes the @pkgdatadir@ macro that was appearing
in the default manual page.

The @defaultmenu@ was correctly replaced with sed during make, but the
@pkgdatadir@ was not. So the phrase "Usually they are installed in
@pkgdatadir@/styles" in the manual page looks a bit weird :)

The makefiles of the localized manpages are not yat fixed, that will
be my next job .... :)

(Note that the install process sequentially installs the nl_NL, the
sl_SI and the default manual page in /usr/share/man/man1. Strange! I
have yet to find out how to let automake do localized man installs....

regards,

-- 
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)
diff -urN blackbox-0.62.0pre5.orig/doc/Makefile.am blackbox-0.62.0pre5/doc/Makefile.am
--- blackbox-0.62.0pre5.orig/doc/Makefile.am    Wed Jan 16 09:00:11 2002
+++ blackbox-0.62.0pre5/doc/Makefile.am Wed Jan 16 11:37:25 2002
@@ -11,4 +11,6 @@
        rm -f *\~
 
 blackbox.1: blackbox.1.in
-       @regex_cmd@ -e "s,@defaultmenu@,$(DEFAULT_MENU)," @srcdir@/blackbox.1.in > 
blackbox.1
+       @regex_cmd@ -e "s,@defaultmenu@,$(DEFAULT_MENU)," \
+                    -e "s,@pkgdatadir@,$(pkgdatadir)," \
+                    @srcdir@/blackbox.1.in > blackbox.1
diff -urN blackbox-0.62.0pre5.orig/doc/Makefile.in blackbox-0.62.0pre5/doc/Makefile.in
--- blackbox-0.62.0pre5.orig/doc/Makefile.in    Wed Jan 16 09:33:23 2002
+++ blackbox-0.62.0pre5/doc/Makefile.in Wed Jan 16 11:37:11 2002
@@ -335,7 +335,9 @@
        rm -f *\~
 
 blackbox.1: blackbox.1.in
-       @regex_cmd@ -e "s,@defaultmenu@,$(DEFAULT_MENU)," @srcdir@/blackbox.1.in > 
blackbox.1
+       @regex_cmd@ -e "s,@defaultmenu@,$(DEFAULT_MENU)," \
+                    -e "s,@pkgdatadir@,$(pkgdatadir)," \
+                    @srcdir@/blackbox.1.in > blackbox.1
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

Reply via email to