Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seisman/how-to-write-makefile
跟我一起写Makefile重制版
https://github.com/seisman/how-to-write-makefile
Last synced: 27 days ago
JSON representation
跟我一起写Makefile重制版
- Host: GitHub
- URL: https://github.com/seisman/how-to-write-makefile
- Owner: seisman
- Created: 2014-02-25T11:19:59.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-06-17T15:06:38.000Z (5 months ago)
- Last Synced: 2024-09-30T21:40:53.747Z (about 1 month ago)
- Language: Python
- Homepage: https://seisman.github.io/how-to-write-makefile/
- Size: 3.8 MB
- Stars: 3,384
- Watchers: 57
- Forks: 573
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
跟我一起写Makefile (PDF重制版)
##############################.. image:: https://github.com/seisman/how-to-write-makefile/actions/workflows/deploy.yml/badge.svg
:target: https://github.com/seisman/how-to-write-makefile/actions/workflows/deploy.yml简介
----《跟我一起写Makefile》是 `陈皓`_ 发表在其CSDN博客上的系列文章。该系列文章翻译整理自 `GNU Make Manual`_ ,一直受到读者的推荐,是很多人学习Makefile的首选文档。目前网络上流传的PDF版本多为祝冬华整理的版本。这个版本的排版一般,代码部分没有做任何语法高亮。
2010年初学Makefile的时候,读了前几章皮毛,一直用到了现在。最近想着重新学习一下Makefile,顺便学习一下Sphinx,重新制作一个更精美的PDF版本。
相关
----- 书的文字部分来自于 `Andriki`_ 提供的Mediawiki源码;
- 使用 `Sphinx`_ 制作文档
- 项目主页: https://github.com/seisman/how-to-write-makefile
- 网页在线版: https://seisman.github.io/how-to-write-makefile/
- PDF下载: https://seisman.github.io/how-to-write-makefile/Makefile.pdf本地编译
--------#. Clone项目到本地::
$ git clone https://github.com/seisman/how-to-write-makefile.git
#. 安装依赖::
$ pip install -r requirements.txt
#. 编译生成HTML::
$ make html
$ firefox build/html/index.html&#. 编译生成PDF(要求安装TeXLive)::
$ make latexpdf
$ evince build/latex/Makefile.pdf&.. _`陈皓`: http://coolshell.cn/haoel
.. _`Andriki`: http://andriki.com/mediawiki/index.php?title=Linux:%E8%B7%9F%E6%88%91%E4%B8%80%E8%B5%B7%E5%86%99Makefile
.. _`Sphinx`: http://sphinx-doc.org/
.. _`GNU Make Manual`: https://www.gnu.org/software/make/manual/