[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Part 2: Add Cleanfiles for User Defined Special Sources [Re: How to
From: |
Bert Wesarg |
Subject: |
Re: Part 2: Add Cleanfiles for User Defined Special Sources [Re: How to add new Makefile-Rules through Configure?] |
Date: |
Tue, 10 Mar 2015 12:56:25 +0100 |
On Tue, Mar 10, 2015 at 11:54 AM, Vincent Torri <address@hidden> wrote:
> On Tue, Mar 10, 2015 at 10:47 AM, Marc Wäckerlin <address@hidden> wrote:
>> Any comments on what is a proper solution?
>>
>> Requirements fo a solution:
>> - Add makefile rules from within configure.ac
>> - No maual changes in makefile.am files required
>
> imho, configure.ac is for configuring the project, not defining 'make'
> rules. These 'make' rules should go into Makefile.am :
>
> do-a-test:
> @echo "Hey, it works in project: $(PACKAGE_NAME)-$(PACKAGE_VERSION)"
>
I can only second this. Nobody is forced to use also automake with
autoconf. But if your extension require autoconf *and* automake, than
you can also insist, that the user of your extension manually edit
both, i.e., configure.ac *and* Makefile.am.
Bert
> Vincent Torri
>
>
Re: How to add new Makefile-Rules through Configure?, Gavin Smith, 2015/03/09