Skip to content

Commit

Permalink
Fixed errors in AsciiDoc ODG support
Browse files Browse the repository at this point in the history
Fixes issue #474: Potentially wrong variable assignment (3.0 RC1)
  • Loading branch information
fsundermeyer committed Aug 27, 2018
1 parent 59698d6 commit 2954ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make/adoc2xml.mk
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ifneq "$(strip $(ADOC_IMG_DIR))" ""
FIG := $(subst $(ADOC_IMG_DIR)/,$(FIG_DIR)/,$(wildcard $(ADOC_IMG_DIR)/*.fig))
JPG_DIR := $(IDIR)/jpg
JPG := $(subst $(ADOC_IMG_DIR)/,$(JPG_DIR)/,$(wildcard $(ADOC_IMG_DIR)/*.jpg))
ODG_DIR := $(IDIR)/pdf
ODG_DIR := $(IDIR)/odg
ODG := $(subst $(ADOC_IMG_DIR)/,$(ODG_DIR)/,$(wildcard $(ADOC_IMG_DIR)/*.odg))
PDF_DIR := $(IDIR)/pdf
PDF := $(subst $(ADOC_IMG_DIR)/,$(PDF_DIR)/,$(wildcard $(ADOC_IMG_DIR)/*.pdf))
Expand Down Expand Up @@ -101,7 +101,7 @@ $(FIG_DIR)/%.fig: $(ADOC_IMG_DIR)/%.fig | $(FIG_DIR)
$(JPG_DIR)/%.jpg: $(ADOC_IMG_DIR)/%.jpg | $(JPG_DIR)
(cd $(@D); ln -sf $<)

$(ODG_DIR)/%.pdf: $(ADOC_IMG_DIR)/%.odg | $(ODG_DIR)
$(ODG_DIR)/%.odg: $(ADOC_IMG_DIR)/%.odg | $(ODG_DIR)
(cd $(@D); ln -sf $<)

$(PDF_DIR)/%.pdf: $(ADOC_IMG_DIR)/%.pdf | $(PDF_DIR)
Expand Down

0 comments on commit 2954ac6

Please sign in to comment.