]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Use simple_cpp() instead of m4 to create gitconfig.
authorSimon Ruderich <simon@ruderich.org>
Tue, 22 Oct 2013 20:30:50 +0000 (22:30 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 22 Oct 2013 20:30:50 +0000 (22:30 +0200)
gitconfig.in [moved from gitconfig.m4 with 99% similarity]
setup.sh

similarity index 99%
rename from gitconfig.m4
rename to gitconfig.in
index 3561376dbf69b69698c4ffecbf2dc6489d8b3434..14129c59bdd98ee8a506807072a80dbc512f9398 100644 (file)
@@ -16,9 +16,6 @@
 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
 
 
-dnl Load m4 macros.
-include(../lib.m4)
-
 [user]
        name = Simon Ruderich
        email = simon@ruderich.org
index fe584a195a9379ce5027d3b9dcd2226e4a6a0ac3..06585379f22d3460fc2d227fe736a735f66dd6eb 100755 (executable)
--- 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