aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-01-07 09:05:39 +0100
committerGravatar Christian Hesse <mail@eworm.de>2015-01-07 09:05:39 +0100
commit36199d953ce52e5cd9bb04163ee61c9d6fbe1420 (patch)
tree2eefdafc2cceaa40cac332f6935d7ad775f9ffac /Makefile
parent0cc422918f365ea565057751f415532d954ca3e9 (diff)
downloadmkinitcpio-ykfde-36199d953ce52e5cd9bb04163ee61c9d6fbe1420.tar.gz
mkinitcpio-ykfde-36199d953ce52e5cd9bb04163ee61c9d6fbe1420.tar.zst
do not pipe to sed and catch markdown failures
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index afc0bcd..e3cee08 100644
--- a/Makefile
+++ b/Makefile
@@ -23,13 +23,16 @@ config.h: config.def.h
$(CP) config.def.h config.h
README.html: README.md
- $(MD) README.md | $(SED) 's/\(README[-[:alnum:]]*\).md/\1.html/g' > README.html
+ $(MD) README.md > README.html
+ $(SED) -i 's/\(README[-[:alnum:]]*\).md/\1.html/g' README.html
README-mkinitcpio.html: README-mkinitcpio.md
- $(MD) README-mkinitcpio.md | $(SED) 's/\(README[-[:alnum:]]*\).md/\1.html/g' > README-mkinitcpio.html
+ $(MD) README-mkinitcpio.md > README-mkinitcpio.html
+ $(SED) -i 's/\(README[-[:alnum:]]*\).md/\1.html/g' README-mkinitcpio.html
README-dracut.html: README-dracut.md
- $(MD) README-dracut.md | $(SED) 's/\(README[-[:alnum:]]*\).md/\1.html/g' > README-dracut.html
+ $(MD) README-dracut.md > README-dracut.html
+ $(SED) -i 's/\(README[-[:alnum:]]*\).md/\1.html/g' README-dracut.html
install: install-mkinitcpio