changeset 1831:3f633fafcfc3 gae

remove unnecessary files from download archive and add moin.py app.yaml and wikiconfig_gae.py
author Tarashish Mishra <sunu0000@gmail.com>
date Fri, 05 Oct 2012 17:56:42 +0530
parents dc8a269f19cd
children 4e7d73696dfd
files Makefile
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Oct 02 22:27:09 2012 +0530
+++ b/Makefile	Fri Oct 05 17:56:42 2012 +0530
@@ -53,9 +53,13 @@
 supportdist:
 	@python setup.py sdist
 	@find dist -name 'moin-*.tar.gz' -exec tar -xzf {} -C dist/ \;
-	@find dist -name "moin-*" -type d -mindepth 1 -maxdepth 1 -exec cp -r support/ {} \;
-	@find dist -name "moin-*" -type d -mindepth 1 -maxdepth 1 -exec bash -c 'tar czf dist/`basename {}`_with_support.tar.gz -C dist/ `basename {}`' \;
-	@find dist -name "moin-*" -type d -mindepth 1 -maxdepth 1 -exec rm -rf {} \;
+	@find dist -mindepth 1 -maxdepth 1 -name "moin-*" -type d -exec cp -r support/ {} \;
+	@find dist -mindepth 1 -maxdepth 1 -name "moin-*" -type d -exec cp moin.py {} \;
+	@find dist -mindepth 1 -maxdepth 1 -name "moin-*" -type d -exec cp app.yaml {} \;
+	@find dist -mindepth 1 -maxdepth 1 -name "moin-*" -type d -exec cp wikiconfig_gae.py {} \;
+	@find dist -mindepth 1 -maxdepth 1 -name "moin-*" -type d -exec sh -c "rm -rf {}/moin.egg-info {}/PKG-INFO {}/MANIFEST.in {}/setup.* {}/quickinstall* {}/Makefile" \;
+	@find dist -mindepth 1 -maxdepth 1 -name "moin-*" -type d -exec bash -c 'tar czf dist/`basename {}`_with_support.tar.gz -C dist/ `basename {}`' \;
+	@find dist -mindepth 1 -maxdepth 1 -name "moin-*" -type d -exec rm -rf {} \;
 
 supporttgz:
 	@# create the support archive: