[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: autotools alternatives, is anybody using autosetup?
- From: Aleksey Cheusov <cheusov@...>
- Date: Wed, 18 Jul 2012 13:00:55 +0300
On Tue, Jul 17, 2012 at 11:15 PM, William Ahern
<william@25thandclement.com> wrote:
> On Tue, Jul 17, 2012 at 11:25:27AM -0700, Sam Roberts wrote:
>> william@25thandclement.com wrote:
>>
>> >>> The better alternative to autoconf is usually nothing, IMO.
>>
>> Clearly, I don't agree, or I wouldn't be looking for one :-)
>>
>> This makefile approach is crap: https://github.com/sam-github/pcap-lua
>
> That's not too bad.
If it was written in mk-configure, i'd look like the following (not
tested, only idea is demonstrated).
----------------------------------------
LUA_MODULES = pcapx.lua # .lua module
LUA_CMODULE = pcap # Lua module written in C (pcap.c)
SCRIPTS = pcap-recode pcap-dump pcap-split
WARNS = 4 # highest possible compiler's warning level
all: README.txt
README.txt: README.txt.in pcap.c
cp README.txt.in $@
luadoc pcap.c >> $@
test:
...
doc:
...
.include <mkc.mk>
----------------------------------------
That's it.
- References:
- Re: autotools alternatives, is anybody using autosetup?, Sam Roberts
- Re: autotools alternatives, is anybody using autosetup?, William Ahern
- Re: autotools alternatives, is anybody using autosetup?, Miles Bader
- Re: autotools alternatives, is anybody using autosetup?, Coda Highland
- Re: autotools alternatives, is anybody using autosetup?, Sam Roberts
- Re: autotools alternatives, is anybody using autosetup?, William Ahern