diff options
author | EuAndreh <eu@euandre.org> | 2025-03-27 08:37:03 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-03-27 08:37:03 -0300 |
commit | d98b351edaecf9aa2efb6dc589e2d616e58cfba9 (patch) | |
tree | 6990ff9ab714bb9e13ec3a050b4ba86edc6091f2 | |
parent | rm README (diff) | |
download | euandre.org-d98b351edaecf9aa2efb6dc589e2d616e58cfba9.tar.gz euandre.org-d98b351edaecf9aa2efb6dc589e2d616e58cfba9.tar.xz |
Makefile: Use ifok(1) to prevent incomplete files to be used in subsequent calls to make(1)
-rw-r--r-- | Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -28,34 +28,34 @@ LDLIBS = .SUFFIXES: .gz .adoc.conf: - mkwb conf src/global.conf $< > $@ + ifok -o $@ mkwb conf src/global.conf $< .adoc.htmlbody: - mkwb htmlbody $< > $@ + ifok -o $@ mkwb htmlbody $< .htmlbody.html: - mkwb html $< > $@ + ifok -o $@ mkwb html $< .conf.htmlheader: - mkwb html -H $< > $@ + ifok -o $@ mkwb html -H $< .conf.htmlfooter: - mkwb html -F $< > $@ + ifok -o $@ mkwb html -F $< .conf.htmllisting: - mkwb indexbody $< > $@ + ifok -o $@ mkwb indexbody $< .adoc.snippets: - mkwb snippets $< > $@ + ifok -o $@ mkwb snippets $< .conf.indexentry: - mkwb indexentry $< > $@ + ifok -o $@ mkwb indexentry $< .htmlbody.feedentry: - mkwb feedentry $< > $@ + ifok -o $@ mkwb feedentry $< .conf.sortdata: - mkwb sortdata $< > $@ + ifok -o $@ mkwb sortdata $< @@ -145,13 +145,13 @@ $(sources.conf): src/global.conf src/headers.txt src/global.conf: src/base.conf - mkwb conf -G src/base.conf > $@ + ifok -o $@ mkwb conf -G src/base.conf $(listings.html): cat $*.htmlheader $*.htmllisting $*.htmlbody $*.htmlfooter > $@ $(feeds.xml): - mkwb feed src/global.conf $*.xmldeps > $@ + ifok -o $@ mkwb feed src/global.conf $*.xmldeps $(contents.gz): gzip -9fk $* |