]> code.delx.au - offlineimap/blobdiff - Makefile
Version to 5.99.9
[offlineimap] / Makefile
index bddfd90ca24d85160ccedc011390a0a0967472d2..3fcf4253494801815c3de2e5ab7079012f683715 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ TARGZ=offlineimap_$(VERSION).tar.gz
 SHELL=/bin/bash
 
 clean:
-       -python2.3 setup.py clean --all
+       -python setup.py clean --all
        -rm -f `find . -name "*~"`
        -rm -f `find . -name "*.tmp"`
        -rm -f bin/offlineimapc
@@ -31,8 +31,9 @@ clean:
        -rm -f `find . -name ".cache*"`
        -rm -f manpage.links manpage.refs
        -find . -name auth -exec rm -vf {}/password {}/username \;
+       -rm -f manual.html manual.pdf manual.txt offlineimap.1
 
-doc: faq
+doc: 
        docbook2man offlineimap.sgml
        docbook2man offlineimap.sgml
        docbook2html -u offlineimap.sgml
@@ -51,7 +52,7 @@ targz: ../$(TARGZ)
          echo "Containing directory must be called offlineimap-$(VERSION)";    \
          exit 1;                                                               \
        fi;                                                                     \
-       pwd && cd .. && pwd && tar -zhcv --exclude '_darcs' -f $(TARGZ) offlineimap-$(VERSION)
+       pwd && cd .. && pwd && tar -zhcv --exclude '.git' -f $(TARGZ) offlineimap-$(VERSION)
 
 rpm: targz
        cd .. && sudo rpmbuild -ta $(TARGZ)