diff options
author | clarkzjw <[email protected]> | 2018-01-11 20:55:47 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2018-01-11 20:55:47 +0800 |
commit | 869c9a1699ed11cfe064013f7089a7dd7c499671 (patch) | |
tree | 7c8a37f83f755c7badd982d1bb2f950c40556393 /Makefile | |
parent | 3237e400631bcc71fa970557edfde40a658819c5 (diff) | |
parent | 866436c73338c2d0caa0cb35dff4949048943fee (diff) | |
download | blog.jinwei.me-869c9a1699ed11cfe064013f7089a7dd7c499671.tar.gz |
Merge pull request #1 from clarkzjw/feed
Support generate rss.xml
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,9 +12,12 @@ BUILDDIR = _build | |||
12 | help: | 12 | help: |
13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | 13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
14 | 14 | ||
15 | rss: | ||
16 | python rss.py > rss.xml | ||
17 | |||
15 | .PHONY: help Makefile | 18 | .PHONY: help Makefile |
16 | 19 | ||
17 | # Catch-all target: route all unknown targets to Sphinx using the new | 20 | # Catch-all target: route all unknown targets to Sphinx using the new |
18 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | 21 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). |
19 | %: Makefile | 22 | %: Makefile |
20 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) \ No newline at end of file | 23 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |