t3 lines to one line in the makefile - monochromatic - monochromatic blog: http://blog.z3bra.org
(HTM) git clone git://z3bra.org/monochromatic
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 65d5cf746929c876dc1e0961215ed1abb90444c0
(DIR) parent d25ef837db1748b36297afc9e3ae30e3303ecbdc
(HTM) Author: z3bra <willy@mailoo.org>
Date: Sat, 14 Feb 2015 00:55:01 +0100
3 lines to one line in the makefile
Diffstat:
M Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -29,6 +29,4 @@ $(FEEDS): index.txt
.txt.html: $(HEADER) $(FOOTER)
@echo "MARKDOWN `basename $@`"
- @cat $(HEADER) > $@
- @$(MD) $< >> $@
- @cat $(FOOTER) >> $@
+ @$(MD) $< | cat $(HEADER) - $(FOOTER) > $@