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
1 changed files with 2 additions and 5 deletions

View File

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