Check-in [f3d3387f06]
Not logged in

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

Overview
Comment:fix markdown m4 mess for real
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:f3d3387f066757c88ea6abcf8296c81785147737
User & Date: brandon@invergo.net 2013-02-27 22:33:41
Context
2013-03-10
18:42
add COPYING check-in: b1e984c726 user: brandon@invergo.net tags: trunk
2013-02-27
22:33
fix markdown m4 mess for real check-in: f3d3387f06 user: brandon@invergo.net tags: trunk
21:45
fix bad header tag check-in: 24063a060f user: brandon@invergo.net tags: trunk
Changes

Changes to Makefile.

79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
			| 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 $< $@








|







79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
			| 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;s/\(({".*\)<\/p>/\1/g;s/\("}).*\)<\/p>/\1/g' > $@

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

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