bug-gnulib
[Top][All Lists]
Advanced

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

Re: errno --> errno name ?


From: Bruce Korb
Subject: Re: errno --> errno name ?
Date: Sat, 13 Aug 2011 19:54:49 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11


I had a few more minutes to play.

This time the tarball includes a module file of sorts.
Maybe I'm not looking at the right module for a template,
but I find this a bit different from the usual gnulib module.
Basically, it is a build script and a module file, with
some rules for running the script as part of any incorporating
project's build rule.  So you don't have to unpack, here's
the module file.  There's another copy in the tarball that,
again, will make a program on a gcc/gnu make system.


Description:
An error number to error name function

Files:
build-aux/mk-err-names.sh

Makefile.am:
GEN_ERRNO_FILES         = err-names.c err-names.h
BUILT_SOURCES          += $(GEN_ERRNO_FILES)
MOSTLYCLEANFILES       += $(GEN_ERRNO_FILES)
nodist_include_HEADERS += err-names.h

err-names.c : err-names.h
        @test -f $@ || CC="$(CC)" $(SHELL) mk-err-names.sh

err-names.h : mk-err-names.sh $(EXE).c
        CC="$(CC)" $(SHELL) mk-err-names.sh

License:
LGPLv2+

Maintainer:
Bruce Korb

Attachment: errno.txz
Description: application/xz-compressed-tar


reply via email to

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