Check-in [308d61b18d]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:remove tags added by markdown on m4 macros
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:308d61b18d38fbf44ecc212f42fa0a5fcb726c90
User & Date: brandon@invergo.net 2013-02-27 21:21:58
Context
2013-02-27
21:45
fix bad header tag check-in: 24063a060f user: brandon@invergo.net tags: trunk
21:21
remove tags added by markdown on m4 macros check-in: 308d61b18d user: brandon@invergo.net tags: trunk
20:13
fix atom links check-in: 04a46df51a user: brandon@invergo.net tags: trunk
Changes

Changes to Makefile.

78
79
80
81
82
83
84
85

86
87
88
89
90
91
92
		$(MARKDOWN) $$f | m4 -D "__URL"=$$link -P $(MACROS) - $(ATOM_E_T) \
			| head -n -4 >> $(SRC)/atom.xml; \
	done
	echo "</feed>" >> $(SRC)/atom.xml


$(SRC)/%.html.m4: $(SRC)/%.md.m4 
	$(MARKDOWN) $< > $@


$(SRC)/%: $(SRC)/%.m4 $(MACROS)
	m4 -P $(MACROS) $< > $@

$(DST)/%: $(SRC)/%
	install -m 644 -D $< $@








|
>







78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
		$(MARKDOWN) $$f | m4 -D "__URL"=$$link -P $(MACROS) - $(ATOM_E_T) \
			| head -n -4 >> $(SRC)/atom.xml; \
	done
	echo "</feed>" >> $(SRC)/atom.xml


$(SRC)/%.html.m4: $(SRC)/%.md.m4 
	$(MARKDOWN) $< | \
		sed -e 's/^<p>\(.*[{"|"}]\)/\1/g;s/\([{"|"}].*\)<\/p>/\1/g' > $@

$(SRC)/%: $(SRC)/%.m4 $(MACROS)
	m4 -P $(MACROS) $< > $@

$(DST)/%: $(SRC)/%
	install -m 644 -D $< $@