Added anonbib for use in papers list

Source: https://gitweb.torproject.org/anonbib.git
Commit: b478fc493d4be2115185d94e077bf06196495417
This commit is contained in:
str4d
2013-08-11 11:14:00 +00:00
parent e38ef21b71
commit 7c42ce8329
23 changed files with 11209 additions and 0 deletions

39
i2p2www/anonbib/Makefile Normal file
View File

@@ -0,0 +1,39 @@
PYTHON=python
VERSION=0.3-dev
all:
$(PYTHON) writeHTML.py anonbib.cfg
clean:
rm -f *~ */*~ *.pyc *.pyo
update:
$(PYTHON) updateCache.py anonbib.cfg
$(PYTHON) rank.py anonbib.cfg
suggest:
$(PYTHON) rank.py suggest anonbib.cfg
test:
$(PYTHON) test.py
veryclean: clean
rm -f author.html date.html topic.html bibtex.html tmp.bib
TEMPLATES=_template_.html _template_bibtex.html
CSS=css/main.css css/pubs.css
BIBTEX=anonbib.bib
SOURCE=BibTeX.py config.py metaphone.py reconcile.py updateCache.py \
writeHTML.py rank.py tests.py
EXTRAS=TODO README Makefile ChangeLog anonbib.cfg gold.gif silver.gif \
upb.gif ups.gif
DISTFILES=$(TEMPLATES) $(CSS) $(BIBTEX) $(SOURCE) $(EXTRAS)
dist: clean
rm -rf anonbib-$(VERSION)
mkdir anonbib-$(VERSION)
tar cf - $(DISTFILES) | (cd anonbib-$(VERSION); tar xf -)
mkdir anonbib-$(VERSION)/cache
tar czf anonbib-$(VERSION).tar.gz anonbib-$(VERSION)
rm -rf anonbib-$(VERSION)