mirror of
https://github.com/mrrpnya/lipu-sona.git
synced 2025-02-13 16:44:39 +00:00
simplified makefile
This commit is contained in:
parent
19ca7d2b01
commit
db94fac58b
1 changed files with 4 additions and 5 deletions
9
Makefile
9
Makefile
|
@ -52,12 +52,11 @@ $(OUTDIR)/%.html: $(PAGEDIR)/%.md $(TPLDIR)/default.tpl
|
|||
@mkdir -p $(@D)
|
||||
$(THEME) $(THEME_FLAGS) -t $(TPLDIR)/default.tpl -p $(patsubst $(OUTDIR)/%,%,$@) -o $@ $<
|
||||
|
||||
$(OUTDIR)/dc/%.html: $(OUTDIR)/dc/%.html.tmp
|
||||
cat $< | ./simplify.sh > $@
|
||||
|
||||
$(OUTDIR)/dc/%.html.tmp: $(PAGEDIR)/%.md $(TPLDIR)/dreamcast.tpl
|
||||
$(OUTDIR)/dc/%.html: $(PAGEDIR)/%.md $(TPLDIR)/dreamcast.tpl
|
||||
@mkdir -p $(@D)
|
||||
$(THEME) $(DC_THEME_FLAGS) -t $(TPLDIR)/dreamcast.tpl -p $(patsubst $(OUTDIR)/%.tmp,%,$@) -o $@ $<
|
||||
$(THEME) $(DC_THEME_FLAGS) -t $(TPLDIR)/dreamcast.tpl -p $(patsubst $(OUTDIR)/%.tmp,%,$@) -o tmpfile.html $<
|
||||
cat tmpfile.html | ./simplify.sh > $@
|
||||
@rm tmpfile.html
|
||||
|
||||
$(OUTDIR)/%: static/%.h
|
||||
@mkdir -p $(@D)
|
||||
|
|
Loading…
Add table
Reference in a new issue