Package: elm-me+
Version: 2.4pl25ME+95-3
see also 128027 for another man page problem -- which you'll need to apply
the fix for before you can type "man elm" to see the problem i'm
describing here.
the man page substition in doc/Makefile for the LIB path ends up including
the temporary install path used to build the binary .deb. for example,
"man elm" contains stuff such as:
/root/elm/elm-me+-2.4pl25ME+95.dg1/debian/tmp/usr/lib/elm-me+/elm.rc
customized mailer parameters
/root/elm/elm-me+-2.4pl25ME+95.dg1/debian/tmp/usr/lib/elm-me+/elm.mimecharsets
locale to MIME charsets mapĀ
ping information
/root/elm/elm-me+-2.4pl25ME+95.dg1/debian/tmp/usr/lib/elm-me+/elm.terminalinfo
display charset switching
method for terminals
...
whereas it should be referring to just /lib/elm-me+/elm.rc, etc.
there's two problems here -- one is that the substitution in doc/Makefile
uses LIB which has the temp binary path prepended to it.
the other is that "./debian/rules clean" should remove the doc/*.subs
file.
the patch below fixes both problems. note that i didn't bother to include
the patch differences which would remove doc/*.subs since that would have
made the patch huge.
-dean
diff -ru elm-me+-2.4pl25ME+95.dg1/debian/changelog
elm-me+-2.4pl25ME+95.dg2/debian/changelog
--- elm-me+-2.4pl25ME+95.dg1/debian/changelog Mon Apr 22 21:13:10 2002
+++ elm-me+-2.4pl25ME+95.dg2/debian/changelog Mon Apr 22 21:15:23 2002
@@ -1,3 +1,12 @@
+elm-me+ (2.4pl25ME+95-3.dg2) unstable; urgency=low
+
+ * doc/*.subs files should be cleaned as well, they don't belong
+in the source archive
+ * when building doc/*.subs files we should use the LIB without
+the temporary install prefix
+
+ -- dean gaudet <[EMAIL PROTECTED]> Mon, 22 Apr 2002 21:14:34 -0700
+
elm-me+ (2.4pl25ME+95-3.dg1) unstable; urgency=low
* fix bug#128027 -- man pages installed in wrong directory
diff -ru elm-me+-2.4pl25ME+95.dg1/debian/rules
elm-me+-2.4pl25ME+95.dg2/debian/rules
--- elm-me+-2.4pl25ME+95.dg1/debian/rules Mon Apr 22 20:31:58 2002
+++ elm-me+-2.4pl25ME+95.dg2/debian/rules Mon Apr 22 21:07:52 2002
@@ -36,7 +36,7 @@
-rm -f hdrs/sysdefs.h
-rm -f ChangeLog.install
-rm -fr bin/*
- -rm -fr doc/catman doc/*.fmtd
+ -rm -fr doc/catman doc/*.fmtd doc/*.subs
-rm -fr UU config.sh
-chmod -R u+rw *
diff -ru elm-me+-2.4pl25ME+95.dg1/doc/Makefile.SH
elm-me+-2.4pl25ME+95.dg2/doc/Makefile.SH
--- elm-me+-2.4pl25ME+95.dg1/doc/Makefile.SHMon Apr 22 20:31:58 2002
+++ elm-me+-2.4pl25ME+95.dg2/doc/Makefile.SHMon Apr 22 21:10:13 2002
@@ -33,6 +33,7 @@
FORMATTER = $roff
FORMATTER_OPTS = $roffopts
LIB= \$(DESTDIR)$lib
+REALLIB= $lib
LN = $ln
MAKE = $make
MAN= \$(DESTDIR)$mansrc
@@ -142,37 +143,37 @@
clean:
elm.1.subs: elm.1
- $(SED) 's"#LIB#"$(LIB)"g;' < elm.1 > elm.1.subs
+ $(SED) 's"#LIB#"$(REALLIB)"g;' < elm.1 > elm.1.subs
answer.1.subs: answer.1
- $(SED) 's"#LIB#"$(LIB)"g;' < answer.1 > answer.1.subs
+ $(SED) 's"#LIB#"$(REALLIB)"g;' < answer.1 > answer.1.subs
chkalias.1.subs: chkalias.1
- $(SED) 's"#LIB#"$(LIB)"g;' < chkalias.1 > chkalias.1.subs
+ $(SED) 's"#LIB#"$(REALLIB)"g;' < chkalias.1 > chkalias.1.subs
elmalias.1.subs: elmalias.1
- $(SED) 's"#LIB#"$(LIB)"g;' < elmalias.1 > elmalias.1.subs
+ $(SED) 's"#LIB#"$(REALLIB)"g;' < elmalias.1 > elmalias.1.subs
elmcharset.1.subs: elmcharset.1
- $(SED) 's"#LIB#"$(LIB)"g;' < elmcharset.1 > elmcharset.1.subs
+ $(SED) 's"#LIB#"$(REALLIB)"g;' < elmcharset.1 > elmcharset.1.subs
elmrc-write.1.subs: elmrc-write.1
- $(SED) 's"#LIB#"$(LIB)"g;' < elmrc-write.1 > elmrc-write.1.subs
+ $(SED) 's"#LIB#"$(REALLIB)"g;' < elmrc-write.1 > elmrc-write.1.subs
elmterminal.1.subs: elmterminal.1
- $(SED) 's"#LIB#"$(LIB)"g;' < elmterminal.1 > elmterminal.1.subs
+ $(SED) 's"#LIB#"$(REALLIB)"g;' < elmterminal.1 > elmterminal.1.subs
elmunidata.1.subs: elmunidata.1
- $(SED) 's"#LIB#"$(LIB)"g;' < elmunidata.1 > elmunidata.1.subs
+ $(SED) 's"#LIB#"$(REALLIB)"g;' < elmunidata.1 > elmunidata.1.subs
fastmail.1.subs: fastmail.1
- $(SED) 's"#LIB#"$(LIB)"g;' < fastmail.1 > fastmail.1.subs
+ $(SED) 's"#