From 530e9d8086345ec7013902f97a473d3eca52a2fb Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 22 Oct 2013 22:30:50 +0200 Subject: [PATCH] setup.sh: Use simple_cpp() instead of m4 to create gitconfig. --- gitconfig.m4 => gitconfig.in | 3 --- setup.sh | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) rename gitconfig.m4 => gitconfig.in (99%) 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 -- 2.45.2