fjernet unødvendige echo-kald
This commit is contained in:
parent
a28f76e394
commit
005ab594c0
7
Makefile
7
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user