From: Simon Ruderich Date: Tue, 22 Oct 2013 20:30:50 +0000 (+0200) Subject: setup.sh: Use simple_cpp() instead of m4 to create gitconfig. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=530e9d8086345ec7013902f97a473d3eca52a2fb setup.sh: Use simple_cpp() instead of m4 to create gitconfig. --- diff --git a/gitconfig.m4 b/gitconfig.in similarity index 99% rename from gitconfig.m4 rename to gitconfig.in index 3561376..14129c5 100644 --- a/gitconfig.m4 +++ b/gitconfig.in @@ -16,9 +16,6 @@ # along with this file. If not, see . -dnl Load m4 macros. -include(../lib.m4) - [user] name = Simon Ruderich email = simon@ruderich.org diff --git a/setup.sh b/setup.sh index fe584a1..0658537 100755 --- a/setup.sh +++ b/setup.sh @@ -30,9 +30,8 @@ if installed git; then PATIENCE=--patience fi - generate gitconfig .m4 m4 \ - -DPATIENCE="$PATIENCE" \ - -DPWD="`pwd`" + generate gitconfig .in simple_cpp \ + PATIENCE PWD -- "$PATIENCE" "`pwd`" link gitconfig ~/.gitconfig fi