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