look for name of lyx binary (Makefile)
This commit is contained in:
parent
adc762fad0
commit
8ac8ed8429
1 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,8 @@ TARGET_FILES := $(foreach file,$(LYX_FILES),_output/$(basename $(notdir $(file))
|
||||||
ASC_FILES := $(wildcard *.asc)
|
ASC_FILES := $(wildcard *.asc)
|
||||||
# target: online or offline (will be overriden for online target automatically)
|
# target: online or offline (will be overriden for online target automatically)
|
||||||
LINE_STATUS = offline
|
LINE_STATUS = offline
|
||||||
|
# look for lyx executable
|
||||||
|
LYX_BIN = $(shell which lyx lyx-qt lyx-xform | head -1)
|
||||||
|
|
||||||
|
|
||||||
# output parameters for latex2html
|
# output parameters for latex2html
|
||||||
|
@ -62,7 +64,7 @@ $(TARGET_FILES): $(HTML_FILES) $(ASC_FILES)
|
||||||
|
|
||||||
# create tex files from lyx
|
# create tex files from lyx
|
||||||
$(TEX_FILES): menue.inc $(LYX_FILES)
|
$(TEX_FILES): menue.inc $(LYX_FILES)
|
||||||
lyx -e latex $*.lyx
|
$(LYX_BIN) -e latex $*.lyx
|
||||||
|
|
||||||
|
|
||||||
# original html-files, as they are created by lyx
|
# original html-files, as they are created by lyx
|
||||||
|
|
Loading…
Add table
Reference in a new issue