]> ruderich.org/simon Gitweb - config/dotfiles.git/commit
lib.sh: Add generate() which replaces m4().
authorSimon Ruderich <simon@ruderich.org>
Mon, 13 Apr 2009 19:02:54 +0000 (21:02 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 13 Apr 2009 19:02:54 +0000 (21:02 +0200)
commit2b996dfbed52a0ec1592b4820990f97b5147b2d4
tree5e8aae8d6dfb350aa08d7ef2adfbbaeccb900119
parent222807c8b67d1c3429fc860e7924aa37e8d7d376
lib.sh: Add generate() which replaces m4().

generate() generates files with m4, awk or simply copies it.

Add lib.m4 which provides the macro(s) formerly provided by m4(). Use
include(../lib.m4) to load it.

Also rename setup_warning() to warning().
lib.m4 [new file with mode: 0644]
lib.sh
tests/lib.sh.test
tests/lib.sh.test.out