From 36199d953ce52e5cd9bb04163ee61c9d6fbe1420 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 7 Jan 2015 09:05:39 +0100 Subject: do not pipe to sed and catch markdown failures --- Makefile | 9 ++++++--- 1 file 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 -- cgit v1.2.3-70-g09d2