~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Matt Nordhoff
  • Date: 2009-03-06 13:19:38 UTC
  • mto: This revision was merged to the branch mainline in revision 297.
  • Revision ID: mnordhoff@mattnordhoff.com-20090306131938-roexw3he9snqfa35
Only pass the first 1 KB of the file to Pygments's guess_lexer.

Mercurial's syntax highlighting extension did this because the function seemed to have exponential performance. I don't know if that's still the case.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
PYTHON ?= python
 
3
 
 
4
dist:
 
5
        $(PYTHON) ./setup.py sdist
 
6
 
 
7
clean:
 
8
        rm -rf dist/
 
9
 
 
10
check:
 
11
        # XXX MichaelHudson 2007-10-29 bug=158361: We can't run the loggerhead
 
12
        # tests in PQM yet :(