mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05: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:
parent
c6ba201e0c
commit
6a592b073c
@ -127,12 +127,12 @@ CLEAN += $(PROG) $(OBJS)
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
# The main default rules
|
# 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
|
# Ensure that Makefiles in subdirs are created before we recursive into them
|
||||||
init-recursive: init-default
|
init-recursive: init-default
|
||||||
|
|
||||||
init-default: .vimrc
|
init-default:
|
||||||
@$(foreach subdir,$(sort $(SUBDIRS)), \
|
@$(foreach subdir,$(sort $(SUBDIRS)), \
|
||||||
$(MKINSTALLDIRS) $(subdir) >/dev/null; \
|
$(MKINSTALLDIRS) $(subdir) >/dev/null; \
|
||||||
test -e "$(subdir)/Makefile" \
|
test -e "$(subdir)/Makefile" \
|
||||||
@ -164,11 +164,6 @@ ifdef MAN5
|
|||||||
$(call ncmd,installdata,$(file),$(DESTDIR)$(mandir)/man5);)
|
$(call ncmd,installdata,$(file),$(DESTDIR)$(mandir)/man5);)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.vimrc: $(top_srcdir)/Makefile.lib
|
|
||||||
@{ echo ':set runtimepath+=.'; \
|
|
||||||
echo ':runtime $(top_srcdir)/config/vimrc'; \
|
|
||||||
} > .vimrc
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Auto-testing infrastructure
|
# Auto-testing infrastructure
|
||||||
|
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user