Re: [blfs-dev] Minor correction to curl install

2016-02-06 Thread Fernando de Oliveira
Em 06-02-2016 18:53, Tim Tassonis escreveu:
> On 02/06/16 13:26, Fernando de Oliveira wrote:
>> Em 05-02-2016 13:48, Tim Tassonis escreveu:
>>> Hi all
>>>
>>> I just install curl from blfs and would suggest a minor correction to
>>> the install section:
>>>
>>> find docs \( -name Makefile\* \
>>>-o -name \*.1   \
>>>-o -name \*.3 \)\
>>>-exec rm {} \;  &&
>>> install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
>>> cp -v -R docs/* /usr/share/doc/curl-7.47.0
>>>
>>>
>>> This works ok, but it has the effect that the build directory gets
>>> broken, e.g. a following make (or make install) will miss files and
>>> fail. Also, it will still copy a
>>> /usr/share/doc/curl-7.47.0/examples/.deps folder that is unneeded.
>>> Therefore I suggest to change this to:
>>>
>>> install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
>>> cp -v -R docs/* /usr/share/doc/curl-7.47.0 &&
>>> find /usr/share/doc/curl-7.47.0 \( -name Makefile\* \
>>> -o -name \*.1 \
>>> -o -name \*.3 \) \
>>> -exec rm {} \; &&
>>> rm -rf /usr/share/doc/curl-7.47.0/examples/.deps
>>>
>>> This will leave the build directory unharmed and do the necessary
>>> cleanups in the destination directory.
>>
>> Wontfix.
>>
>> Thanks.
>>
>> 
> 
> Fine me with, although I don't understand the refusal to change one
> single line that won't harm anything. The reason I'm suggesting this is
> that one simple typo in those three lines will force you to fully
> unpack, ./configure and make the whole package again, only to be able to
> call "make install" again.
> 
> I won't bother commenting on your refusal to accept that it's a good
> idea to remove the unneeded .deps Directory in the resulting docucment...

You are not being fair.

Have you read this?



-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Minor correction to curl install

2016-02-06 Thread Tim Tassonis

On 02/06/16 13:26, Fernando de Oliveira wrote:

Em 05-02-2016 13:48, Tim Tassonis escreveu:

Hi all

I just install curl from blfs and would suggest a minor correction to
the install section:

find docs \( -name Makefile\* \
   -o -name \*.1   \
   -o -name \*.3 \)\
   -exec rm {} \;  &&
install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0


This works ok, but it has the effect that the build directory gets
broken, e.g. a following make (or make install) will miss files and
fail. Also, it will still copy a
/usr/share/doc/curl-7.47.0/examples/.deps folder that is unneeded.
Therefore I suggest to change this to:

install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0 &&
find /usr/share/doc/curl-7.47.0 \( -name Makefile\* \
-o -name \*.1 \
-o -name \*.3 \) \
-exec rm {} \; &&
rm -rf /usr/share/doc/curl-7.47.0/examples/.deps

This will leave the build directory unharmed and do the necessary
cleanups in the destination directory.


Wontfix.

Thanks.




Fine me with, although I don't understand the refusal to change one 
single line that won't harm anything. The reason I'm suggesting this is 
that one simple typo in those three lines will force you to fully 
unpack, ./configure and make the whole package again, only to be able to 
call "make install" again.


I won't bother commenting on your refusal to accept that it's a good 
idea to remove the unneeded .deps Directory in the resulting docucment...







--
decentral.ch - IT Stuff
Tim Tassonis
Dennlerstasse 36
8047 Zürich

st...@decentral.ch
+41 79 229 36 17
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Minor correction to curl install

2016-02-06 Thread Tim Tassonis



On February 7, 2016 1:02:44 AM Fernando de Oliveira  
wrote:



Em 06-02-2016 18:53, Tim Tassonis escreveu:

On 02/06/16 13:26, Fernando de Oliveira wrote:

Em 05-02-2016 13:48, Tim Tassonis escreveu:

Hi all

I just install curl from blfs and would suggest a minor correction to
the install section:

find docs \( -name Makefile\* \
   -o -name \*.1   \
   -o -name \*.3 \)\
   -exec rm {} \;  &&
install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0


This works ok, but it has the effect that the build directory gets
broken, e.g. a following make (or make install) will miss files and
fail. Also, it will still copy a
/usr/share/doc/curl-7.47.0/examples/.deps folder that is unneeded.
Therefore I suggest to change this to:

install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0 &&
find /usr/share/doc/curl-7.47.0 \( -name Makefile\* \
-o -name \*.1 \
-o -name \*.3 \) \
-exec rm {} \; &&
rm -rf /usr/share/doc/curl-7.47.0/examples/.deps

This will leave the build directory unharmed and do the necessary
cleanups in the destination directory.


Wontfix.

Thanks.




Fine me with, although I don't understand the refusal to change one
single line that won't harm anything. The reason I'm suggesting this is
that one simple typo in those three lines will force you to fully
unpack, ./configure and make the whole package again, only to be able to
call "make install" again.

I won't bother commenting on your refusal to accept that it's a good
idea to remove the unneeded .deps Directory in the resulting docucment...


You are not being fair.

Have you read this


I
Yes I have. It does in no way address the unrelated issue of removing the 
.deps and so boils down to a "fuck of" to me. Sorry, but I fail to see why 
you don't even consider adding a line to get rid of those unneeded files. 
It has nothing to do with the rest of my change request.




--
[]s,
Fernando, aka Sísifo
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page



--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Minor correction to curl install

2016-02-06 Thread Tim Tassonis

On 02/07/16 01:02, Fernando de Oliveira wrote:

Em 06-02-2016 18:53, Tim Tassonis escreveu:

On 02/06/16 13:26, Fernando de Oliveira wrote:

Em 05-02-2016 13:48, Tim Tassonis escreveu:

Hi all

I just install curl from blfs and would suggest a minor correction to
the install section:

find docs \( -name Makefile\* \
-o -name \*.1   \
-o -name \*.3 \)\
-exec rm {} \;  &&
install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0


This works ok, but it has the effect that the build directory gets
broken, e.g. a following make (or make install) will miss files and
fail. Also, it will still copy a
/usr/share/doc/curl-7.47.0/examples/.deps folder that is unneeded.
Therefore I suggest to change this to:

install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0 &&
find /usr/share/doc/curl-7.47.0 \( -name Makefile\* \
-o -name \*.1 \
-o -name \*.3 \) \
-exec rm {} \; &&
rm -rf /usr/share/doc/curl-7.47.0/examples/.deps

This will leave the build directory unharmed and do the necessary
cleanups in the destination directory.


Wontfix.

Thanks.




Fine me with, although I don't understand the refusal to change one
single line that won't harm anything. The reason I'm suggesting this is
that one simple typo in those three lines will force you to fully
unpack, ./configure and make the whole package again, only to be able to
call "make install" again.

I won't bother commenting on your refusal to accept that it's a good
idea to remove the unneeded .deps Directory in the resulting docucment...


You are not being fair.

Have you read this?





Just to be absolute sure: I have recompiled and installed curl fully 
according your instruction and then get a directory


/usr/share/doc/curl/examples/.deps

containing:

0-at-a-time.Po  imap-append.Po   pop3-ssl.Po
anyauthput.Poimap-copy.Popop3-stat.Po
certinfo.Po  imap-create.Po  pop3-tls.Po
chkspeed.Po  imap-delete.Po  pop3-top.Po
cookie_interface.Po  imap-examine.Po pop3-uidl.Po
debug.Po imap-fetch.Po   post-callback.Po
externalsocket.Poimap-list.Popostinmemory.Po
fileupload.Poimap-lsub.Popostit2.Po
fopen.Po imap-multi.Po   progressfunc.Po
ftpgetinfo.Poimap-noop.Poresolve.Po
ftpget.Poimap-search.Po  rtsp.Po
ftpgetresp.Poimap-ssl.Po sendrecv.Po
ftpsget.Po   imap-store.Po   sepheaders.Po
ftpupload.Po imap-tls.Po sftpget.Po
ftp-wildcard.Po  multi-app.Posimple.Po
getinfo.Po   multi-debugcallback.Po  simplepost.Po
getinmemory.Po   multi-double.Po simplessl.Po
getredirect.Po   multi-post.Po   smtp-expn.Po
http2-download.Pomulti-single.Po smtp-mail.Po
http2-serverpush.Po  persistant.Po   smtp-multi.Po
http2-upload.Po  pop3-dele.Posmtp-ssl.Po
httpcustomheader.Po  pop3-list.Posmtp-tls.Po
http-post.Po pop3-multi.Po   smtp-vrfy.Po
httpput.Po   pop3-noop.Pourl2file.Po


Now, what's the problem deleting those?  Apart from the fact that the 
suggestion came from me?








--
decentral.ch - IT Stuff
Tim Tassonis
Dennlerstasse 36
8047 Zürich

st...@decentral.ch
+41 79 229 36 17
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Minor correction to curl install

2016-02-06 Thread akhiezer
> To: BLFS Development List <blfs-dev@lists.linuxfromscratch.org>
> From: Fernando de Oliveira <fam...@yahoo.com.br>
> Date: Sat, 6 Feb 2016 10:48:59 -0300
> Subject: Re: [blfs-dev] Minor correction to curl install
>
> Em 06-02-2016 09:17, akhiezer escreveu:
> >> Date: Fri, 05 Feb 2016 17:47:27 +
> >> From: lf...@cruziero.com (akhiezer)
> >> To: BLFS Development List <blfs-dev@lists.linuxfromscratch.org>
> >> Subject: Re: [blfs-dev] Minor correction to curl install
> >>
> >>> To: BLFS Development List <blfs-dev@lists.linuxfromscratch.org>
> >>> From: Tim Tassonis <st...@decentral.ch>
> >>> Date: Fri, 5 Feb 2016 17:48:14 +0100
> >>> Subject: [blfs-dev] Minor correction to curl install
> >>>
> >>> Hi all
> >>>
> >>> I just install curl from blfs and would suggest a minor correction to 
> >>> the install section:
> >>>
> >>> find docs \( -name Makefile\* \
> >>>-o -name \*.1   \
> >>>-o -name \*.3 \)\
> >>>-exec rm {} \;  &&
> >>
> >>
> >> (Also, '[-depth] ... -delete' instead of the '-exec rm {} \;' ? The
> >> latter isn't wrong; just a little unnecessary to call-out via '-exec' .)
> >>
> > 
> > 
> > The '-exec rm {} \;' will return false on dirs (& spew out
> > errors/warnings) - tho' not cause find() to return non-zero.
> > 
> > 
> > Normally that'd be tightened-up (proactively, defensively) a bit.
> > 
> > 
> > According to blfs svn for curl (
> > http://www.linuxfromscratch.org/blfs/view/svn/basicnet/curl.html ),
> > the intent of the find-rmv is to remove files.
> > 
> > 
> > So depending on whether it's just ordinary files, or just non-dirs,
> > then one would use '-type f' or '! -type d' after the 'docs' or at
> > least before the '-exec' (tho' of course some find() implems can/will
> > do some 'optimising'/rearranging of some parts of their cmdlines).
> > 
> > 
> > And for completeness, if dirs are to be included in the rmvl, then
> > one would normally use the '[-depth] ... -delete' construct instead
> > of the '-exec ...'  .
>
> Sorry to intrude, as it was not directed to me.
>
> Thanks for the valuable info.
>
> You are right: we are only removing files.
>


So:

  # If want to rmv regular files plus symlnks  but skip dirs quietly.
  #
  # Can use '[-depth] ... -delete' instead of the '-exec rm {} \;'  .
  #
  find docs ! -type d \
 \( -name Makefile\* \
 -o -name \*.1   \
 -o -name \*.3 \)\
 -exec rm {} \;  &&

or

  # If only want to rmv regular files, but not symlnks 
  #
  # Can use '[-depth] ... -delete' instead of the '-exec rm {} \;'  .
  #
  find docs -type f \
 \( -name Makefile\* \
 -o -name \*.1   \
 -o -name \*.3 \)\
 -exec rm {} \;  &&

or

  # If not 'openbsd-mmonkeys' mailing-list.
  #
  # Can use '[-depth] ... -delete' instead of the '-exec rm {} \;'  .
  #
  leave as-is / not-bothered (much/enough) / ok-ish, but can't-be-bothered / 
  won't-bother / "nah-let's-not-fkn-bovver" [Al Murray] .  ;)

?



rgds,
akh





--
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Minor correction to curl install

2016-02-06 Thread Bruce Dubbs

Tim Tassonis wrote:

On 02/07/16 01:02, Fernando de Oliveira wrote:

Em 06-02-2016 18:53, Tim Tassonis escreveu:

On 02/06/16 13:26, Fernando de Oliveira wrote:

Em 05-02-2016 13:48, Tim Tassonis escreveu:

Hi all

I just install curl from blfs and would suggest a minor correction to
the install section:

find docs \( -name Makefile\* \
-o -name \*.1   \
-o -name \*.3 \)\
-exec rm {} \;  &&
install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0


This works ok, but it has the effect that the build directory gets
broken, e.g. a following make (or make install) will miss files and
fail. Also, it will still copy a
/usr/share/doc/curl-7.47.0/examples/.deps folder that is unneeded.
Therefore I suggest to change this to:

install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0 &&
find /usr/share/doc/curl-7.47.0 \( -name Makefile\* \
-o -name \*.1 \
-o -name \*.3 \) \
-exec rm {} \; &&
rm -rf /usr/share/doc/curl-7.47.0/examples/.deps

This will leave the build directory unharmed and do the necessary
cleanups in the destination directory.


Wontfix.

Thanks.




Fine me with, although I don't understand the refusal to change one
single line that won't harm anything. The reason I'm suggesting this is
that one simple typo in those three lines will force you to fully
unpack, ./configure and make the whole package again, only to be able to
call "make install" again.

I won't bother commenting on your refusal to accept that it's a good
idea to remove the unneeded .deps Directory in the resulting docucment...


You are not being fair.

Have you read this?





Just to be absolute sure: I have recompiled and installed curl fully
according your instruction and then get a directory

/usr/share/doc/curl/examples/.deps

containing:

0-at-a-time.Po  imap-append.Po pop3-ssl.Po
anyauthput.Po imap-copy.Po pop3-stat.Po
certinfo.Po imap-create.Po pop3-tls.Po
chkspeed.Po imap-delete.Po pop3-top.Po
cookie_interface.Po  imap-examine.Po pop3-uidl.Po
debug.Po imap-fetch.Po post-callback.Po
externalsocket.Poimap-list.Po postinmemory.Po
fileupload.Po imap-lsub.Po postit2.Po
fopen.Po imap-multi.Po progressfunc.Po
ftpgetinfo.Po imap-noop.Po resolve.Po
ftpget.Po imap-search.Po rtsp.Po
ftpgetresp.Po imap-ssl.Po sendrecv.Po
ftpsget.Po imap-store.Po sepheaders.Po
ftpupload.Po imap-tls.Po sftpget.Po
ftp-wildcard.Po  multi-app.Po simple.Po
getinfo.Po multi-debugcallback.Po  simplepost.Po
getinmemory.Po multi-double.Po simplessl.Po
getredirect.Po multi-post.Po smtp-expn.Po
http2-download.Pomulti-single.Po smtp-mail.Po
http2-serverpush.Po  persistant.Po smtp-multi.Po
http2-upload.Po  pop3-dele.Po smtp-ssl.Po
httpcustomheader.Po  pop3-list.Po smtp-tls.Po
http-post.Po pop3-multi.Po smtp-vrfy.Po
httpput.Po pop3-noop.Po url2file.Po


Now, what's the problem deleting those?  Apart from the fact that the
suggestion came from me?


You are right.  Those should not be installed.  We can take a look at the 
Makefile and perhaps prevent that rather than deleting after installation.


  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Minor correction to curl install

2016-02-06 Thread Fernando de Oliveira
Em 06-02-2016 09:17, akhiezer escreveu:
>> Date: Fri, 05 Feb 2016 17:47:27 +
>> From: lf...@cruziero.com (akhiezer)
>> To: BLFS Development List <blfs-dev@lists.linuxfromscratch.org>
>> Subject: Re: [blfs-dev] Minor correction to curl install
>>
>>> To: BLFS Development List <blfs-dev@lists.linuxfromscratch.org>
>>> From: Tim Tassonis <st...@decentral.ch>
>>> Date: Fri, 5 Feb 2016 17:48:14 +0100
>>> Subject: [blfs-dev] Minor correction to curl install
>>>
>>> Hi all
>>>
>>> I just install curl from blfs and would suggest a minor correction to 
>>> the install section:
>>>
>>> find docs \( -name Makefile\* \
>>>-o -name \*.1   \
>>>-o -name \*.3 \)\
>>>-exec rm {} \;  &&
>>
>>
>> (Also, '[-depth] ... -delete' instead of the '-exec rm {} \;' ? The
>> latter isn't wrong; just a little unnecessary to call-out via '-exec' .)
>>
> 
> 
> The '-exec rm {} \;' will return false on dirs (& spew out
> errors/warnings) - tho' not cause find() to return non-zero.
> 
> 
> Normally that'd be tightened-up (proactively, defensively) a bit.
> 
> 
> According to blfs svn for curl (
> http://www.linuxfromscratch.org/blfs/view/svn/basicnet/curl.html ),
> the intent of the find-rmv is to remove files.
> 
> 
> So depending on whether it's just ordinary files, or just non-dirs,
> then one would use '-type f' or '! -type d' after the 'docs' or at
> least before the '-exec' (tho' of course some find() implems can/will
> do some 'optimising'/rearranging of some parts of their cmdlines).
> 
> 
> And for completeness, if dirs are to be included in the rmvl, then
> one would normally use the '[-depth] ... -delete' construct instead
> of the '-exec ...'  .

Sorry to intrude, as it was not directed to me.

Thanks for the valuable info.

You are right: we are only removing files.

-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Minor correction to curl install

2016-02-06 Thread akhiezer
> Date: Fri, 05 Feb 2016 17:47:27 +
> From: lf...@cruziero.com (akhiezer)
> To: BLFS Development List <blfs-dev@lists.linuxfromscratch.org>
> Subject: Re: [blfs-dev] Minor correction to curl install
>
> > To: BLFS Development List <blfs-dev@lists.linuxfromscratch.org>
> > From: Tim Tassonis <st...@decentral.ch>
> > Date: Fri, 5 Feb 2016 17:48:14 +0100
> > Subject: [blfs-dev] Minor correction to curl install
> >
> > Hi all
> >
> > I just install curl from blfs and would suggest a minor correction to 
> > the install section:
> >
> > find docs \( -name Makefile\* \
> >-o -name \*.1   \
> >-o -name \*.3 \)\
> >-exec rm {} \;  &&
>
>
> (Also, '[-depth] ... -delete' instead of the '-exec rm {} \;' ? The
> latter isn't wrong; just a little unnecessary to call-out via '-exec' .)
>


The '-exec rm {} \;' will return false on dirs (& spew out
errors/warnings) - tho' not cause find() to return non-zero.


Normally that'd be tightened-up (proactively, defensively) a bit.


According to blfs svn for curl (
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/curl.html ),
the intent of the find-rmv is to remove files.


So depending on whether it's just ordinary files, or just non-dirs,
then one would use '-type f' or '! -type d' after the 'docs' or at
least before the '-exec' (tho' of course some find() implems can/will
do some 'optimising'/rearranging of some parts of their cmdlines).


And for completeness, if dirs are to be included in the rmvl, then
one would normally use the '[-depth] ... -delete' construct instead
of the '-exec ...'  .



akh





--
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Minor correction to curl install

2016-02-06 Thread Fernando de Oliveira
Em 05-02-2016 13:48, Tim Tassonis escreveu:
> Hi all
> 
> I just install curl from blfs and would suggest a minor correction to
> the install section:
> 
> find docs \( -name Makefile\* \
>   -o -name \*.1   \
>   -o -name \*.3 \)\
>   -exec rm {} \;  &&
> install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
> cp -v -R docs/* /usr/share/doc/curl-7.47.0
> 
> 
> This works ok, but it has the effect that the build directory gets
> broken, e.g. a following make (or make install) will miss files and
> fail. Also, it will still copy a
> /usr/share/doc/curl-7.47.0/examples/.deps folder that is unneeded.
> Therefore I suggest to change this to:
> 
> install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
> cp -v -R docs/* /usr/share/doc/curl-7.47.0 &&
> find /usr/share/doc/curl-7.47.0 \( -name Makefile\* \
> -o -name \*.1 \
> -o -name \*.3 \) \
> -exec rm {} \; &&
> rm -rf /usr/share/doc/curl-7.47.0/examples/.deps
> 
> This will leave the build directory unharmed and do the necessary
> cleanups in the destination directory.

Wontfix.

Thanks.



-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-dev] Minor correction to curl install

2016-02-05 Thread Tim Tassonis

Hi all

I just install curl from blfs and would suggest a minor correction to 
the install section:


find docs \( -name Makefile\* \
  -o -name \*.1   \
  -o -name \*.3 \)\
  -exec rm {} \;  &&
install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0


This works ok, but it has the effect that the build directory gets 
broken, e.g. a following make (or make install) will miss files and 
fail. Also, it will still copy a 
/usr/share/doc/curl-7.47.0/examples/.deps folder that is unneeded. 
Therefore I suggest to change this to:


install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0 &&
find /usr/share/doc/curl-7.47.0 \( -name Makefile\* \
-o -name \*.1 \
-o -name \*.3 \) \
-exec rm {} \; &&
rm -rf /usr/share/doc/curl-7.47.0/examples/.deps

This will leave the build directory unharmed and do the necessary 
cleanups in the destination directory.




Kind regards
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Minor correction to curl install

2016-02-05 Thread akhiezer
> To: BLFS Development List <blfs-dev@lists.linuxfromscratch.org>
> From: Tim Tassonis <st...@decentral.ch>
> Date: Fri, 5 Feb 2016 17:48:14 +0100
> Subject: [blfs-dev] Minor correction to curl install
>
> Hi all
>
> I just install curl from blfs and would suggest a minor correction to 
> the install section:
>
> find docs \( -name Makefile\* \
>-o -name \*.1   \
>-o -name \*.3 \)\
>-exec rm {} \;  &&


(Also, '[-depth] ... -delete' instead of the '-exec rm {} \;' ? The
latter isn't wrong; just a little unnecessary to call-out via '-exec' .)


>
.
.
>



akh





--
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page