fjernet unødvendige echo-kald

This commit is contained in:
Christoffer Müller Madsen 2017-10-04 16:45:19 +02:00
parent a28f76e394
commit 005ab594c0

View File

@ -4,7 +4,7 @@ files := $(wildcard org/*.org)
.PHONY: clean upload publish org html pdf tex .PHONY: clean upload publish org html pdf tex
all: org html pdf tex all : org html pdf tex
org html pdf tex : $(wildcard org/*.org) org html pdf tex : $(wildcard org/*.org)
GOALS=`echo $(foreach file,$(files),out/$(basename $(notdir $(file)))/$(notdir $(file))) | sed 's/\.org/.$@/g'`; \ GOALS=`echo $(foreach file,$(files),out/$(basename $(notdir $(file)))/$(notdir $(file))) | sed 's/\.org/.$@/g'`; \
@ -16,13 +16,10 @@ out tmp :
.SECONDEXPANSION: .SECONDEXPANSION:
out/%.org out/%.tex out/%.pdf out/%.html : tmp/$$(notdir $$@) | out out/%.org out/%.tex out/%.pdf out/%.html : tmp/$$(notdir $$@) | out
mkdir -p $(@D) mkdir -p $(@D)
echo $@
echo out/$(basename $(notdir $@))
echo $(notdir $@) out/$(basename $(notdir $<)) $<
cp $< out/$(basename $(notdir $<)) cp $< out/$(basename $(notdir $<))
tmp/%.org : org/%.org | tmp tmp/%.org : org/%.org | tmp
cp $< tmp/ cp $< $@
sed -i '1i#+SETUPFILE: ../setup.org' $@ sed -i '1i#+SETUPFILE: ../setup.org' $@
tmp/%.tex : tmp/%.org | tmp tmp/%.tex : tmp/%.org | tmp