Skip to content

Commit

Permalink
Merge pull request #1336 from wilzbach/fix_sitemap
Browse files Browse the repository at this point in the history
Remove carriage-returns from sitemap
  • Loading branch information
CyberShadow committed Jun 6, 2016
2 parents b31edb5 + 9b006eb commit 0d83655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posix.mak
Expand Up @@ -249,7 +249,7 @@ $(DOC_OUTPUT_DIR)/sitemap.html : $(ALL_FILES_BUT_SITEMAP) $(DMD)
(true $(foreach F, $(TARGETS), \
&& echo \
"$F `sed -n 's/<title>\(.*\) - D Programming Language.*<\/title>/\1/'p $(DOC_OUTPUT_DIR)/$F`")) \
| sort --ignore-case --key=2 | sed 's/^\([^ ]*\) \(.*\)/<a href="\1">\2<\/a><br>/' >> sitemap.dd
| sort --ignore-case --key=2 | sed 's/^\([^ ]*\) \([^\n\r]*\)/<a href="\1">\2<\/a><br>/' >> sitemap.dd
$(DMD) -conf= -c -o- -Df$@ $(DDOC) sitemap.dd
rm sitemap.dd

Expand Down

0 comments on commit 0d83655

Please sign in to comment.