diff --git a/Makefile b/Makefile
index 30ad65d0dcb2042caf18b7d0e78601c3e1879cdf..c77bbeaeb52edc9041b881e32f7e7f2d39998d1a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
 # Copyright (C) 2003-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
+# Copyright (C) 2005      Laurent Destailleur  <eldy@users.sourceforge.net>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -25,7 +26,7 @@ FILE=dolibarr-2.0.0-alpha1
 tar:
 	rm -fr dolibarr-*.tar.gz* $(FILE)
 	mkdir $(FILE)
-	rsync -ar doc ChangeLog htdocs mysql pgsql misc COPY* http* INSTALL README scripts templates $(FILE)/
+	rsync -ar ChangeLog doc htdocs misc scripts mysql pgsql COPY* http* INSTALL README $(FILE)/
 	tar --exclude-from tar.exclude -cvvf $(FILE).tar $(FILE)/
 	gzip $(FILE).tar
 	md5sum $(FILE).tar.gz > $(FILE).tar.gz.md5
diff --git a/tar.exclude b/tar.exclude
index 15d5660f1d18d95ce398cf2e5eb6ef8d79f81234..60fc1c955693e955608f6a4b822b97c2e3e3ea45 100644
--- a/tar.exclude
+++ b/tar.exclude
@@ -1,4 +1,7 @@
 doc/dev/dolibarr-phpdoc
+doc/dev/html
 htdocs/document
+htdocs/documents
+documents
 CVS
 *~
\ No newline at end of file