blog

git clone https://git.ce9e.org/blog.git

commit
7f5e12c205b1597b0989e30c66bb3a345f1a3c3d
parent
e5be042bfd89490c7628f71ea541a9d22bbbc1a1
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-03-26 00:25
Makefile: ln -f

Diffstat

M Makefile 10 +++++-----

1 files changed, 5 insertions, 5 deletions


diff --git a/Makefile b/Makefile

@@ -19,7 +19,7 @@ build/%.html: build/%.md _templates/base.html
   19    19 
   20    20 build/%.md: _content/%.md
   21    21 	@mkdir -p $$(dirname $@)
   22    -1 	ln $< $@
   -1    22 	ln -f $< $@
   23    23 
   24    24 build/index.md: _content/posts/*/index.md posts.sh
   25    25 	@mkdir -p $$(dirname $@)
@@ -30,13 +30,13 @@ _content/%.html: _content/%.md
   30    30 	@sed -i 's/<tr class="header">/<tr>/g' $@
   31    31 
   32    32 build/%.png: _content/%.png
   33    -1 	ln $< $@
   -1    33 	ln -f $< $@
   34    34 
   35    35 build/%.jpg: _content/%.jpg
   36    -1 	ln $< $@
   -1    36 	ln -f $< $@
   37    37 
   38    38 build/%.gif: _content/%.gif
   39    -1 	ln $< $@
   -1    39 	ln -f $< $@
   40    40 
   41    41 build/feed.xml: feed-atom.sh $(PAGES_FEED)
   42    42 	./feed-atom.sh > $@
@@ -52,7 +52,7 @@ build/feed-archive.json: feed-json.sh $(PAGES_FEED)
   52    52 
   53    53 build/static/%: static/%
   54    54 	@mkdir -p $$(dirname $@)
   55    -1 	ln $< $@
   -1    55 	ln -f $< $@
   56    56 
   57    57 build/static/style.css: style/*.scss style/components/*.scss
   58    58 	npx sass --no-source-map style/style.scss $@