From 005ab594c0107c22cdbe487564c7fa235757a72b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoffer=20M=C3=BCller=20Madsen?= Date: Wed, 4 Oct 2017 16:45:19 +0200 Subject: [PATCH] =?UTF-8?q?fjernet=20un=C3=B8dvendige=20echo-kald?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index ba50674..5e9863a 100644 --- a/Makefile +++ b/Makefile @@ -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