Mercurial > p > roundup > code
annotate doc/Makefile @ 3882:46ef2a6fd79d
config option to limit nosy attachments based on size
reworking of patch [SF#772323] from Philipp Gortan
It tries to avoid reading the file contents just to
get the file size but that was too hard for metakit backends.
They don't inherit from blobfiles.FileStorage which makes
it more challenging. Really that backend should be reworked
to inherit from FileStorage.
I'm not sure I like the default being sys.maxint. Maybe have
0 == unlimited? But what if someone really wanted to set it to
0 to mean "don't attach anything"?
| author | Justus Pendleton <jpend@users.sourceforge.net> |
|---|---|
| date | Mon, 03 Sep 2007 17:14:09 +0000 |
| parents | 068b3d7d4279 |
| children | 29dfb873b32e |
| rev | line source |
|---|---|
|
3650
77e067e64035
copy over status/priority descriptions from old overview doc
Richard Jones <richard@users.sourceforge.net>
parents:
3526
diff
changeset
|
1 STXTOHTML = rst2html |
| 2409 | 2 STXTOHT = rst2ht.py |
|
3526
9b99fff18683
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2910
diff
changeset
|
3 WEBDIR = ../../htdocs/htdocs/doc-1.0 |
| 798 | 4 |
| 5 SOURCE = announcement.txt customizing.txt developers.txt FAQ.txt features.txt \ | |
|
1839
06f5b36b201b
Fix a couple of failures in mysql backend unit tests.
Richard Jones <richard@users.sourceforge.net>
parents:
1651
diff
changeset
|
6 glossary.txt implementation.txt index.txt design.txt mysql.txt \ |
|
2003
a291bf753037
maintenance -> admin guide
Richard Jones <richard@users.sourceforge.net>
parents:
1875
diff
changeset
|
7 installation.txt upgrading.txt user_guide.txt admin_guide.txt \ |
|
3526
9b99fff18683
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
2910
diff
changeset
|
8 postgresql.txt tracker_templates.txt |
| 798 | 9 |
| 10 COMPILED := $(SOURCE:.txt=.html) | |
| 2409 | 11 WEBHT := $(SOURCE:.txt=.ht) |
| 798 | 12 |
| 2409 | 13 all: ${COMPILED} ${WEBHT} |
| 14 | |
| 15 website: ${WEBHT} | |
| 16 cp *.ht ${WEBDIR} | |
|
3756
068b3d7d4279
images for user guide
Richard Jones <richard@users.sourceforge.net>
parents:
3650
diff
changeset
|
17 cp -r images ${WEBDIR} |
| 798 | 18 |
| 19 %.html: %.txt | |
|
1304
61ad556cfc8d
working toward 0.5.2 release
Richard Jones <richard@users.sourceforge.net>
parents:
1249
diff
changeset
|
20 ${STXTOHTML} --report=warning -d $< $@ |
| 798 | 21 |
| 2409 | 22 %.ht: %.txt |
| 23 ${STXTOHT} --report=warning -d $< $@ | |
| 24 | |
| 1091 | 25 clean: |
| 26 rm -f ${COMPILED} |
