~ubuntu-branches/ubuntu/maverick/vim/maverick

« back to all changes in this revision

Viewing changes to src/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-26 13:42:18 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080626134218-703edeyb8k70qpbz
Tags: 1:7.1.314-3ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Enable detection of GNU screen as a mouse-capable terminal.
  - Add NoDisplay=true to gvim.desktop.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Build-depend on libxt-dev.
  - Enable Python interpreter on basic builds.
  - Create a .pot file for translations.
  - Disable autoindent, line-wrapping, and backup files by default.
* Fixes various vulnerabilities due to improper quoting of 'execute'
  arguments (LP: #240216).
* Drop fixes for upgrade problems from Ubuntu 6.06 LTS; direct upgrades
  from 6.06 to 8.10 will not be supported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
780
780
# 1) make config
781
781
# 2) edit auto/config.mk, add -n32 to LDFLAGS
782
782
# 3) make
 
783
#
 
784
#Alternatively: use -o32 instead of -n32.
783
785
###
784
786
 
785
787
### (C)  On SCO Unix v3.2.5 (and probably other versions) the termcap library,
1074
1076
# default vi editor, it will create a link from vi to Vim when doing
1075
1077
# "make install".  An existing file will be overwritten!
1076
1078
# When not using it, some make programs can't handle an undefined $(LINKIT).
1077
 
#LINKIT = -ln -f -s $(BINDIR)/$(VIMTARGET) /usr/bin/vi
 
1079
#LINKIT = ln -f -s $(DEST_BIN)/$(VIMTARGET) $(DESTDIR)/usr/bin/vi
1078
1080
LINKIT = @echo >/dev/null
1079
1081
 
1080
1082
###
1290
1292
 
1291
1293
DEPEND_CFLAGS = -DPROTO -DDEPEND -DFEAT_GUI $(LINT_CFLAGS)
1292
1294
 
 
1295
# If you have problems with flags that cproto doesn't support, and you are
 
1296
# using GNU make, you can try using the other line to filter out arguments.
 
1297
#PFLAGS = $(PROTO_FLAGS) -DPROTO $(filter -D% -I%, $(LINT_CFLAGS))
1293
1298
PFLAGS = $(PROTO_FLAGS) -DPROTO $(LINT_CFLAGS)
1294
1299
 
1295
1300
ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR)
1866
1871
installtutorbin: $(DEST_VIM)
1867
1872
        $(INSTALL_DATA) vimtutor $(DEST_BIN)/$(VIMNAME)tutor
1868
1873
        chmod $(SCRIPTMOD) $(DEST_BIN)/$(VIMNAME)tutor
 
1874
        $(INSTALL_DATA) gvimtutor $(DEST_BIN)/$(GVIMNAME)tutor
 
1875
        chmod $(SCRIPTMOD) $(DEST_BIN)/$(GVIMNAME)tutor
1869
1876
 
1870
1877
installtutor: $(DEST_RT) $(DEST_TUTOR)
1871
1878
        -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
2073
2080
uninstall: uninstall_runtime
2074
2081
        -rm -f $(DEST_BIN)/$(VIMTARGET)
2075
2082
        -rm -f $(DEST_BIN)/vimtutor
 
2083
        -rm -f $(DEST_BIN)/gvimtutor
2076
2084
        -rm -f $(DEST_BIN)/$(EXTARGET) $(DEST_BIN)/$(VIEWTARGET)
2077
2085
        -rm -f $(DEST_BIN)/$(GVIMTARGET) $(DEST_BIN)/$(GVIEWTARGET)
2078
2086
        -rm -f $(DEST_BIN)/$(RVIMTARGET) $(DEST_BIN)/$(RVIEWTARGET)
2169
2177
 
2170
2178
shadow: runtime pixmaps
2171
2179
        mkdir $(SHADOWDIR)
2172
 
        cd $(SHADOWDIR); ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../mkinstalldirs .
 
2180
        cd $(SHADOWDIR); ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../po ../vimtutor ../gvimtutor ../mkinstalldirs .
2173
2181
        mkdir $(SHADOWDIR)/auto
2174
2182
        cd $(SHADOWDIR)/auto; ln -s ../../auto/configure .
2175
2183
        cd $(SHADOWDIR); rm -f auto/link.sed
2188
2196
        cd $(SHADOWDIR)/testdir; ln -s ../../testdir/Makefile \
2189
2197
                                 ../../testdir/vimrc.unix \
2190
2198
                                 ../../testdir/*.in \
2191
 
                                 ../../testdir/unix.vim \
 
2199
                                 ../../testdir/*.vim \
2192
2200
                                 ../../testdir/*.ok .
2193
2201
 
2194
2202
# Link needed for doing "make install" in a shadow directory.