Changeset 8 for trunk


Ignore:
Timestamp:
Jul 12, 2011, 6:45:16 PM (9 years ago)
Author:
g7moreau
Message:
  • Bug in TEXINPUTS for FIG
  • Begin work on XEDITOR and xdvi. Not finish...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r7 r8  
    4343BIN_UNPROTECT := chmod u+w .
    4444
     45DVI_EDITOR := export XEDITOR="vim --servername DOC --remote +%l %f"
     46DVI_EDITOR := export XEDITOR="vim +%l %f"
     47DVI_EDITOR := export XEDITOR="nedit-nc -line %l %f"
    4548DVI_VIEWER := xdvi
    4649PDF_VIEWER := xpdf
     
    7780OBJ_BASE    := $(DIR_TMP)/$(DOCUMENT)
    7881
    79 TEXINPUTS   := $(subst //,/,$(subst / /,:/,$(foreach dir,$(ARBO_TEX),$(strip $(DIR_PROJET)/src/$(dir)/)))):$(DIR_TMP):
     82TEXINPUTS   := $(subst //,/,$(subst / /,:/,$(foreach dir,$(ARBO_TEX) $(ARBO_FIG),$(strip $(DIR_PROJET)/src/$(dir)/)))):$(DIR_TMP):
    8083BIBINPUTS   := $(subst //,/,$(subst / /,:/,$(foreach dir,$(ARBO_BIB),$(strip $(DIR_PROJET)/src/$(dir)/))))
    8184
     
    111114.PHONY: html
    112115.PHONY: xpdf xdvi gv
     116.PHONY: vim
    113117.PHONY: echo clean miniclean help
    114118.PHONY: figure bibtex
     
    137141
    138142xdvi: $(DIR_TMP)/$(DOCUMENT).dvi
    139         export XEDITOR="nedit-nc -line %l %f"; \
     143        $(DVI_EDITOR); \
    140144        $(DVI_VIEWER) -bg grey95 $(DIR_TMP)/$(DOCUMENT) &
    141145        @echo '############################################################'
     
    149153        @echo '####  Visualisation de $(DOCUMENT)'
    150154        @echo '############################################################'
     155
     156vim:
     157        vim --servername DOC $(DOCUMENT)
    151158
    152159#--------------------------------------------------------------#
Note: See TracChangeset for help on using the changeset viewer.