fix bin/pp again?
This commit is contained in:
+4
-4
@@ -40,12 +40,12 @@ default_layout_file = $(if \
|
|||||||
layout_file = $(if $(layout),share/layouts/$(layout).layout.upp$(ext),$(default_layout_file))
|
layout_file = $(if $(layout),share/layouts/$(layout).layout.upp$(ext),$(default_layout_file))
|
||||||
|
|
||||||
define out_rule =
|
define out_rule =
|
||||||
out/%.$(ext): src/%$(if $(layout),.$(layout)).upp$(ext) $(layout_file) $(component_files)
|
out/%.$(ext): bin/pp src/%$(if $(layout),.$(layout)).upp$(ext) $(layout_file) $(component_files)
|
||||||
./bin/mkws https://joeac.net "$$$$(realpath $$<)"
|
./bin/mkws https://joeac.net "$$$$(realpath $$<)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define blog_rss_feed_rule =
|
define blog_rss_feed_rule =
|
||||||
out/$(blog)/rss.xml: src/$(blog)/rss.uppxml $(blog_src) $(wildcard bin/*)
|
out/$(blog)/rss.xml: bin/pp src/$(blog)/rss.uppxml $(blog_src) $(wildcard bin/*)
|
||||||
./bin/mkws https://joeac.net "$$(realpath src/$(blog)/rss.uppxml)"
|
./bin/mkws https://joeac.net "$$(realpath src/$(blog)/rss.uppxml)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ $(blog_post_target): $(blog_post_src) $(let ext,html,$(layout_file) $(component_
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define blog_index_rule =
|
define blog_index_rule =
|
||||||
out/$(blog).html: src/$(blog).upphtml $(blog_src) $(wildcard bin/*)
|
out/$(blog).html: bin/pp src/$(blog).upphtml $(blog_src) $(wildcard bin/*)
|
||||||
./bin/mkws https://joeac.net "$$(realpath src/$(blog).upphtml)"
|
./bin/mkws https://joeac.net "$$(realpath src/$(blog).upphtml)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -106,7 +106,7 @@ share/man/man1/pp.1:
|
|||||||
cp pp/pp.1 share/man/man1/pp.1
|
cp pp/pp.1 share/man/man1/pp.1
|
||||||
|
|
||||||
.PHONY: out
|
.PHONY: out
|
||||||
out: bin/pp $(out_deps)
|
out: $(out_deps)
|
||||||
|
|
||||||
bin/pp:
|
bin/pp:
|
||||||
$(MAKE) --directory=pp && chmod +x pp/pp && cp pp/pp bin/pp
|
$(MAKE) --directory=pp && chmod +x pp/pp && cp pp/pp bin/pp
|
||||||
|
|||||||
Reference in New Issue
Block a user