From fdea5b5348450e18594d90d68672c0449fb80fca Mon Sep 17 00:00:00 2001 From: "yusuke.shinyama.dummy" Date: Sat, 19 Jun 2010 04:13:05 +0000 Subject: [PATCH] MANIFEST is now generated automatically git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@231 1aa58f4a-7d42-0410-adbc-911cccaed67c --- MANIFEST | 78 -------------------------------------------------------- Makefile | 12 +++++++-- 2 files changed, 10 insertions(+), 80 deletions(-) delete mode 100644 MANIFEST diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index b0e8bf9..0000000 --- a/MANIFEST +++ /dev/null @@ -1,78 +0,0 @@ -README.txt -Makefile -setup.py -docs/index.html -pdfminer/cmapdb.py -pdfminer/pdfparser.py -pdfminer/latin_enc.py -pdfminer/encodingdb.py -pdfminer/lzw.py -pdfminer/Makefile -pdfminer/pdfinterp.py -pdfminer/latin2ascii.py -pdfminer/cmap/Makefile -pdfminer/cmap/__init__.py -pdfminer/arcfour.py -pdfminer/ascii85.py -pdfminer/glyphlist.py -pdfminer/utils.py -pdfminer/rijndael.py -pdfminer/layout.py -pdfminer/pdfcolor.py -pdfminer/pdftypes.py -pdfminer/runlength.py -pdfminer/psparser.py -pdfminer/__init__.py -pdfminer/pdfdevice.py -pdfminer/fontmetrics.py -pdfminer/pdffont.py -pdfminer/converter.py -cmaprsrc/README.txt -cmaprsrc/cid2code_Adobe_Korea1.txt -cmaprsrc/cid2code_Adobe_Japan1.txt -cmaprsrc/cid2code_Adobe_CNS1.txt -cmaprsrc/cid2code_Adobe_GB1.txt -tools/Makefile -tools/pdf2txt.py -tools/conv_cmap.py -tools/pdf2html.cgi -tools/dumppdf.py -tools/conv_afm.py -tools/prof.py -samples/kampo.html.ref -samples/i1040nr.xml.ref -samples/f1040nr.pdf -samples/nlp2004slides.pdf -samples/simple1.xml.ref -samples/simple1.pdf -samples/kampo.pdf -samples/jo.txt.ref -samples/naacl06-shinyama.pdf -samples/simple2.html.ref -samples/i1040nr.html.ref -samples/naacl06-shinyama.txt.ref -samples/Makefile -samples/nlp2004slides.html.ref -samples/simple1.txt.ref -samples/dmca.xml.ref -samples/jo.html.ref -samples/jo.xml.ref -samples/simple2.txt.ref -samples/kampo.xml.ref -samples/naacl06-shinyama.xml.ref -samples/jo.pdf -samples/i1040nr.pdf -samples/dmca.txt.ref -samples/dmca.pdf -samples/simple1.html.ref -samples/nlp2004slides.txt.ref -samples/f1040nr.txt.ref -samples/nlp2004slides.xml.ref -samples/i1040nr.txt.ref -samples/dmca.html.ref -samples/simple2.xml.ref -samples/naacl06-shinyama.html.ref -samples/f1040nr.html.ref -samples/simple2.pdf -samples/f1040nr.xml.ref -samples/kampo.txt.ref diff --git a/Makefile b/Makefile index 96cb1c2..0d17257 100644 --- a/Makefile +++ b/Makefile @@ -15,13 +15,13 @@ install: clean: -$(PYTHON) setup.py clean - -$(RM) -r build dist + -$(RM) -r build dist MANIFEST -cd $(PACKAGE) && $(MAKE) clean -cd tools && $(MAKE) clean distclean: clean test_clean cmap_clean -pack: distclean +pack: distclean MANIFEST $(PYTHON) setup.py sdist register: distclean $(PYTHON) setup.py sdist upload register @@ -50,3 +50,11 @@ test: cmap cd samples && $(MAKE) test CMP=cmp test_clean: -cd samples && $(MAKE) clean + +SED=sed +FIND=find . '(' -name .git -o -name .svn -o -name CVS -o -name dev -o -name dist -o -name build ')' -prune -false -o +SORT=sort +TOUCH=touch +MANIFEST: + $(TOUCH) MANIFEST + $(FIND) -type f '!' -name '.*' | $(SED) 's:./::' | $(SORT) > MANIFEST