Makefile: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Some generic intro into how make works. |
m Fixed indenting to be consistent. |
||
Line 146: | Line 146: | ||
=== Extracting TODO Statements === |
=== Extracting TODO Statements === |
||
<pre> |
<pre> |
||
todolist: |
todolist: |
||
-@for file in $(ALLFILES); do fgrep -H -e TODO -e FIXME $$file; done; true |
-@for file in $(ALLFILES); do fgrep -H -e TODO -e FIXME $$file; done; true |
||
</pre> |
</pre> |
||
This will ''grep'' all those ''TODO'' and ''FIXME'' comments from the files and display them in the terminal. It's nice to be remembered of what's still missing before you do a release. To add another keyword, just add another <code>-e keyword</code>. Don't forget to add <code>todolist</code> to your <code>.PHONY</code> list. |
This will ''grep'' all those ''TODO'' and ''FIXME'' comments from the files and display them in the terminal. It's nice to be remembered of what's still missing before you do a release. To add another keyword, just add another <code>-e keyword</code>. Don't forget to add <code>todolist</code> to your <code>.PHONY</code> list. |