summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2015-01-24Prohibit overriding of some Makefile varsNick Wellnhofer
SRCDIR, DATADIR, and PROG should not be overridable.
2015-01-24Remove dependencies from $(BUILDDIR) targetNick Wellnhofer
There's no need to reconfigure if html_unescape.h or case_fold_switch.inc were changed.
2015-01-24Make "test" target depend on "cmake_build"Nick Wellnhofer
cmake doesn't (re)build the project if the tests are run. This change allows to run "make test" without having to run "make" before, for example after modifying source files or from a clean tree.
2015-01-24Pass INSTALL_PREFIX to cmakeNick Wellnhofer
This allows to install to a location other than /usr/local without invoking cmake manually.
2015-01-24Move message from "all" to "cmake_build" targetNick Wellnhofer
2015-01-24Rework Makefile targetsNick Wellnhofer
Since $(BUILDDIR) depended on the phony target "check", it was always considered out-of-date. So it was always rebuilt resulting in running the "cmake" command again even if it was already run. Add a new phony target "cmake_build" that always triggers the cmake build and make $(PROG) depend on it. Running "make" a second time now doesn't run cmake again.
2015-01-23Tweaked uglifyjs options.John MacFarlane
2015-01-23Added target for minified js/dist/commonmark.min.js.John MacFarlane
2015-01-23Put generated commonmark.js in js/dist/ rather than js/.John MacFarlane
2015-01-12Revert "Moved dingus to js directory."John MacFarlane
This reverts commit 5ddf8743f02132f07aad4bb27e0b84c530a706d7.
2015-01-12Cleaned up Makefile.John MacFarlane
2015-01-12Moved templates, makespec.py, and specfilter.hs -> tools/.John MacFarlane
2015-01-12Moved mkcasefold.pl to tools/.John MacFarlane
2015-01-12Moved eslint.json to js/ subdir.John MacFarlane
2015-01-12Moved dingus to js directory.John MacFarlane
2015-01-12Simplified release archive.John MacFarlane
We now simply use git archive (which is also what github would use on their releases page). This is possible because we now include some generated files in the repository. The fact is that this is what people are going to use anyway, so instead of testing two different setups (our hand-crafted archive and the git repo), it's better just to use one.
2015-01-12For benchmarks, read file rather than piping from stdin.John MacFarlane
2015-01-12Use much more multilingual benchmark source.John MacFarlane
Concatenate all languages for progit book.
2015-01-12Reduce size of gperf entity tableNick Wellnhofer
Don't store length of UTF-8 string. It can be computed by NULL-terminating strings shorter than 4 bytes and using strnlen. Use gperf's string pool option. This allows to use an 'int' index into the string pool instead of a pointer and is helpful on 64-bit systems. Shaves about 75 KB off the 32-bit binaries on Linux and 128 KB off the 64-bit binaries on OS X.
2015-01-11Use order-only dependency of cmark.3 on PROG.John MacFarlane
This fixes a problem with some parallel builds.
2015-01-11Makefile tweaks.John MacFarlane
* Use -j2, esp. for testarchive, so we can test parallel builds. * Improved dependencies for cmark.3.
2015-01-11Non-verbose output on 'make testarchive', unless error occurs.John MacFarlane
2015-01-11Removed circular build dependency, improved testarchive.John MacFarlane
2015-01-11Makefile: require PROG for making man3 page.John MacFarlane
2015-01-11'make test' - don't use verbose output.John MacFarlane
Instead, print the test log if any tests fail.
2015-01-11Added cmark.3 man page to repository and archive.John MacFarlane
It simplifies the build if python and the cmark library aren't needed to build the man page. The top level Makefile has a rule to regenerate this when src/cmark.h changes. Updated Makefile.nmake for recent changes. Added case folding data file to archive, since otherwise make fails.
2015-01-10'make leakcheck': check xml and man renderers as well.John MacFarlane
2015-01-09Updated dingus.John MacFarlane
2015-01-07Fixed 'make alltest.md'.John MacFarlane
2015-01-06Merge pull request #269 from jgm/licenseVicent Marti
Updated LICENSE, renamed to COPYING.
2015-01-05Added 'make astyle' to reformat code consistently.John MacFarlane
2015-01-05Updated LICENSE, renamed to COPYING.John MacFarlane
This update clarifies the provenance and license of buffer.h, buffer.c, chunk.h, utf8.h, utf8.c. @vmg certifies by merging this PR that the license and copyright information are accurate.
2015-01-04Moved spec.html error checks into makespec.py.John MacFarlane
2015-01-04Fixed spec.pdf target.John MacFarlane
2015-01-04Removed second parameter of makespec.py.John MacFarlane
2015-01-04spec2md.py -> makespec.py.John MacFarlane
Moved HTML generation out of Makefile.
2015-01-03Rewrote spec2md in python.John MacFarlane
Better to only require python, not python and perl.
2014-12-31Recreate scanners.c only on demandNick Wellnhofer
2014-12-29Fixed leakcheck for python3.John MacFarlane
2014-12-29Use python3 for bench in Makefile.John MacFarlane
2014-12-27Makefile: Added spec target with check of internal links/anchors.John MacFarlane
2014-12-26Revert "Makefile: specify python2 in places where it's needed."John MacFarlane
This reverts commit 2455209cb0051f562bb8d9525951ac902320afeb.
2014-12-25Makefile: specify python2 in places where it's needed.John MacFarlane
2014-12-17More Makefile adjustments.John MacFarlane
2014-12-17Updated Makefile for changes in man page generation.John MacFarlane
2014-12-17Create cmark.3 in cmake build process.John MacFarlane
Remove it from the repository. Closes #241.
2014-12-13Makefile fixes for man page.John MacFarlane
Don't build man pages until we've built libcmark, which we need. Also reverted use of typewriter font for signatures; this looks worse in the terminal pager.
2014-12-13Makefile: add targets for html versions of man pages.John MacFarlane
2014-12-13Makefile: Removed dependency of leakcheck on PROG.John MacFarlane
2014-12-10Makefile - run js benchmark with high priority.John MacFarlane