www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre18/scripts/cconfig.mk.makefile
Nico Schottelius ca81f97577 the key itself plus the cinit release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-07 21:11:05 +01:00

20 lines
407 B
Makefile
Executable file

#!/bin/sh
# Nico Schottelius
# 2007-05-20, 0110 CEST
# cconfig: create makefile from conf/ directory
# currently: all files
# later: only built-defines
#
CONFS=$($(dirname $0)/cinit.get-confdir)/../conf/*
echo "#"
echo "# Warning: Autogenerated by $0, do not edit. "
echo "#"
for conf in ${CONFS}; do
NAME="$(basename $conf | tr a-z A-Z)"
value=$(head -n 1 $conf)
echo "${NAME}=${value}"
done