aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-05 00:20:19 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-05 00:20:19 +0000
commit2e9b9b139852f6a963eb39a1bc4d1f5c31dcba2e (patch)
tree0461c33728e8ce47c449ce0a7b67191f1e4eb687
parent117ba3e6ff330b0ae5ef43966422f0eb1b0373db (diff)
downloadpaludis-2e9b9b139852f6a963eb39a1bc4d1f5c31dcba2e.tar.gz
paludis-2e9b9b139852f6a963eb39a1bc4d1f5c31dcba2e.tar.xz
Fix vim scripts in dist tarballs
-rw-r--r--vim/ftdetect/Makefile.am8
-rw-r--r--vim/syntax/Makefile.am15
2 files changed, 15 insertions, 8 deletions
diff --git a/vim/ftdetect/Makefile.am b/vim/ftdetect/Makefile.am
index bec81aa..edbd298 100644
--- a/vim/ftdetect/Makefile.am
+++ b/vim/ftdetect/Makefile.am
@@ -2,15 +2,19 @@ MAINTAINERCLEANFILES = Makefile.in
CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda .keep
SUBDIRS =
+vimscripts = \
+ paludis.vim
+
if HAVE_VIM
vimftdetectdir = $(VIM_INSTALL_DIR)/ftdetect/
-vimftdetect_DATA = \
- paludis.vim
+vimftdetect_DATA = $(vimscripts)
endif
+EXTRA_DIST = $(vimscripts)
+
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
diff --git a/vim/syntax/Makefile.am b/vim/syntax/Makefile.am
index 2b1e1ff..06592db 100644
--- a/vim/syntax/Makefile.am
+++ b/vim/syntax/Makefile.am
@@ -2,11 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in
CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda .keep
SUBDIRS =
-if HAVE_VIM
-
-vimsyntaxdir = $(VIM_INSTALL_DIR)/syntax/
-
-vimsyntax_DATA = \
+vimscripts = \
paludis-environment-conf.vim \
paludis-keywords-conf.vim \
paludis-licenses-conf.vim \
@@ -15,9 +11,16 @@ vimsyntax_DATA = \
paludis-repositories-conf.vim \
paludis-use-conf.vim
+if HAVE_VIM
+
+vimsyntaxdir = $(VIM_INSTALL_DIR)/syntax/
+
+vimsyntax_DATA = $(vimscripts)
+
endif
-EXTRA_DIST = $(vimsyntax_DATA)
+EXTRA_DIST = $(vimscripts)
+
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done