One more time, for the sake of the braindead (such as me):
How about:
ifeq ($(LINK_TO_VI),y)
LINKIT="ln -s -f"
else
LINKIT=":"
endif
...
-$(LINKIT) $(BINDIR)/$(VIMTARGET) $(DESTDIR)/usr/bin/vim
instead?
That way, you can do a "make install_normal LINK_TO_VI=y" without editing the
Makefile.
While I'm at it, looking at src/configure.in:
have_local_include=''
have_local_lib=''
if test "$GCC" = yes; then
echo 'void f(){}' > conftest.c
dnl -no-cpp-precomp is needed for OS X 10.2 (Ben Fowler)
...
if test "$tt" = "$CPPFLAGS"; then
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
fi
fi
Should that read:
have_local_include=''
have_local_lib=''
if test "$cross_compiling" = no; then
if test "$GCC" = yes; then
echo 'void f(){}' > conftest.c
dnl -no-cpp-precomp is needed for OS X 10.2 (Ben Fowler)
...
if test "$tt" = "$CPPFLAGS"; then
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
fi
fi
fi
And lastly... why does the target "installrtbase" install the man pages?
How do I get an installation with everything but the man pages?
Thanks,
-Philip
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---