1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-15 23:35:34 +00:00

BUILD: Do not create .vimrc files

They are considered insecure, use the newly added ftplugin instead. This
also removes the config/vimrc master file.
This commit is contained in:
Jonas Fonseca 2006-01-28 05:25:02 +01:00 committed by Jonas Fonseca
parent c6ba201e0c
commit 6a592b073c
2 changed files with 2 additions and 15 deletions

View File

@ -127,12 +127,12 @@ CLEAN += $(PROG) $(OBJS)
#############################################################################
# The main default rules
all-default: $(ALL_OBJS) $(PROGS) $(MAN1) $(MAN5) .vimrc
all-default: $(ALL_OBJS) $(PROGS) $(MAN1) $(MAN5)
# Ensure that Makefiles in subdirs are created before we recursive into them
init-recursive: init-default
init-default: .vimrc
init-default:
@$(foreach subdir,$(sort $(SUBDIRS)), \
$(MKINSTALLDIRS) $(subdir) >/dev/null; \
test -e "$(subdir)/Makefile" \
@ -164,11 +164,6 @@ ifdef MAN5
$(call ncmd,installdata,$(file),$(DESTDIR)$(mandir)/man5);)
endif
.vimrc: $(top_srcdir)/Makefile.lib
@{ echo ':set runtimepath+=.'; \
echo ':runtime $(top_srcdir)/config/vimrc'; \
} > .vimrc
##############################################################################
# Auto-testing infrastructure

View File

@ -1,8 +0,0 @@
" Master vimrc file for the ELinks project
:set shiftwidth=8
:set tabstop=8
:set softtabstop=0
:set noexpandtab
au BufNewFile,BufRead *.inc setf c