Opened 19 years ago

Closed 19 years ago

#1600 closed defect (fixed)

sed doc directory

Reported by: archaic@… Owned by: lfs-book@…
Priority: lowest Milestone:
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

Sed puts a single html file in /usr/share/doc. More proper would be to put it in a /usr/share/doc/sed-$version. Haven't looked at the makefile, but will eventually unless someone else wants to do it.

Change History (4)

comment:1 by archaic@…, 19 years ago

Status: newassigned

This appears to be sufficient. I'll let it stew for a bit in case someone finds fault with it. I've emailed upstream requesting such a change as well.

sed -i 's|/doc|&/sed-$(VERSION)|g' doc/Makefile.in

comment:2 by Matthew Burgess, 19 years ago

For matching current conventions (I think) of using '@' where '/' can't be used, I just tested the following. Note that the global 'g' operator isn't required as there's only one occurrence of the pattern on each line.

sed -i 's@/doc@&/sed-$(VERSION)@' doc/Makefile.in

Looks like it works fine. Did you get a response from upstream? And can I apply the above, or did you want to do it yourself?

comment:3 by archaic@…, 19 years ago

I never heard anything from upstream. I didn't look at CVS, either. If you want to apply it, that is more than fine with me.

comment:4 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.