[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automake 1.10 - No rule to make target '-c', needed by 'all-am'.
From: |
Craig Sanders |
Subject: |
Re: Automake 1.10 - No rule to make target '-c', needed by 'all-am'. Stop. |
Date: |
Wed, 20 Jun 2007 00:23:37 +1000 |
Hi Ralf.
It appears that I told a small lie, I actually had INSTALL and friends defined
as follows ;
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
To answer one of your questions, no, I didn't set the variable DATA within the
culprit Makefile.am. I am still a bit perplexed however as to why make choked
on the '-c' switch that appears in the INSTALL variable.
With regards to the NEWS file, I didn't even think to have a read through it -
silly me. I shall remember this for next time.
Thanks once again for your help, it is most appreciated.
- Craig
Ralf Wildenhues <address@hidden> wrote:>
> Hello Craig,
>
> * Craig Sanders wrote on Tue, Jun 19, 2007 at 07:39:11AM CEST:
>>
>> Thankyou for your prompt response to my two queries last week.
>>
>> I think I have solved my own problems. One of the problems was that I
>> had defined the variable ;
>>
>> INSTALL = install -c -m 644
>
> Above line isn't wrong. The line
> | DATA = $(INSTALL_DATA)
>
> however is: DATA is, well, data. INSTALL_DATA is a program.
> Sorry I overlooked this the last time.
>
>> in one of my Makefile.am files. The reason I did this was because I
>> was trying to implement an install-pdf target in the generated
>> Makefiles. However it now appears that Autoconf 2.61 and Automake 1.10
>> generate this target automatically. Am I correct when I say that older
>> versions of the Autotools did not generate install- style targets
>> automatically?
>
> Almost. Quoting from Automake 1.10 NEWS file:
> | * New installation targets:
> |
> | - New targets mandated by GNU Coding Standards:
> | install-dvi
> | install-html
> | install-ps
> | install-pdf
> | By default they will only install Texinfo manuals.
> | You can customize them with *-local variants:
> | install-dvi-local
> | install-html-local
> | install-ps-local
> | install-pdf-local
>
> install-info was already handled before, as of course -data and -exec.
>
> Cheers,
> Ralf
>
>
> _______________________________________________
> Autoconf mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/autoconf