Permalink
Browse files

Template tweaks

  • Loading branch information...
1 parent 58889b8 commit 2e57744d466923eecc1bde334c92220ba64af666 @tpope committed Oct 22, 2012
Showing with 2 additions and 61 deletions.
  1. +0 −59 .vim/templates/Makefile
  2. +0 −1 .vim/templates/skel.c
  3. +1 −1 .vim/templates/skel.sh
  4. +1 −0 bin/tpope-config
View
59 .vim/templates/Makefile
@@ -1,59 +0,0 @@
-# Makefile for creating distribution
-# Type 'make dist' for create tar-gzipped archive.
-
-#
-# Author: Lubomir Host 'rajo' <host8@kepler.fmph.uniba.sk
-#
-
-PACKAGE = test
-VERSION = 1.0
-
-DISTFILES = test \
- test/test.c
-
-
-########################################
-# Don't change anything below this line!
-#
-
-#TAR = gtar
-TAR = tar
-ZIP = zip
-ZIP_ENV = -r9
-GZIP_ENV = --best
-
-
-srcdir = .
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-top_builddir = .
-
-dist: distdir
- GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
- ZIP=$(ZIP_ENV) $(ZIP) $(distdir).zip $(distdir)
- -rm -rf $(distdir)
-
-dist-all: distdir
- GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
- ZIP=$(ZIP_ENV) $(ZIP) $(distdir).zip $(distdir)
- -rm -rf $(distdir)
-
-distdir: $(DISTFILES)
- -rm -rf $(distdir)
- mkdir $(distdir)
- @here=`cd $(top_builddir) && pwd`; \
- top_distdir=`cd $(distdir) && pwd`; \
- distdir=`cd $(distdir) && pwd`;
- @FILES=`echo "$(DISTFILES)" | awk 'BEGIN{RS=" "}{print}' | sort -u`; \
- for file in $$FILES; do \
- d=$(srcdir); \
- if test -d $$d/$$file; then \
- mkdir $(distdir)/$$file; \
- else \
- test -f $(distdir)/$$file \
- || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
- || cp -p $$d/$$file $(distdir)/$$file || :; \
- fi; \
- done
-
-
View
1 .vim/templates/skel.c
@@ -1,7 +1,6 @@
/* -*- Mode: c; c-basic-offset: 4 -*- vi:set sw=4: */
#include <stdio.h>
-#include "@FILE@.h"
int main(int argc, char **argv) {
View
2 .vim/templates/skel.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-# -*- sh -*- vim:set et sw=2:
+# vim:set et sw=2:
View
1 bin/tpope-config
@@ -109,6 +109,7 @@ case "$command" in
.zsh/functions/_tpope \
.vim/plugin/flatfoot.vim \
.vim/plugin/pastie.vim \
+ .vim/templates/Makefile \
bin/media \
bin/installer \
bin/tpope-hostman \

0 comments on commit 2e57744

Please sign in to comment.