bug-ed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ed] [PATCH] makefile: install man by default and use symlinks


From: Mike Frysinger
Subject: Re: [Bug-ed] [PATCH] makefile: install man by default and use symlinks
Date: Thu, 1 Jan 2009 02:56:33 -0500
User-agent: KMail/1.10.3 (Linux/2.6.28; KDE/4.1.3; x86_64; ; )

On Wednesday 31 December 2008 18:38:30 Karl Berry wrote:
>     install man by default
>
> I don't see a reason not to, although it's up to Antonio.

the normal behavior is to install man packages if they're available and let 
people sort out what they dont actually want on their system with `rm` or 
whatever.  otherwise you're forcing people who want to install "ed" to read 
the documentation rather than having `make install` simply work like every 
other package out there.

>     Use softlinks rather than hardlinks in the install steps.
>
> Why is that preferable?

much easier for package managers to track soft links rather than hard links.  
hard links means you need to do an inode compare on every single file, soft 
links are just another entry.

> What I see in the rules is that && should be used instead of ; for
> defensive purposes, as in
>
> < cd $(DESTDIR)$(mandir)/man1 ; ln ...
> --
>
> > cd $(DESTDIR)$(mandir)/man1 && ln ...

i dont see much point in the cd in the first place.  `ln` is fully capable of 
handling full paths.  but yes, you're right that using a semicolon is a bad 
idea.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]