From d51fa01ee873dee15c8d6cb99c31c91059ce04d9 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Mon, 23 Jul 2012 06:56:28 +0000 Subject: [PATCH] * adjust the makefile for syun version. --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index cfac417b35..6815b70368 100644 --- a/Makefile +++ b/Makefile @@ -101,14 +101,16 @@ build4sae: build4yunshangdian: # rename the install.php. mv zentaopms/install.php.new zentaopms/install.php - # process the data and tmp directory. - touch data/index.html - touch tmp/index.html # move the .htaccess to zentaopms/ - mv zentaopms/www/.htaccess zentaopms/ + mv zentaopms/www/.htaccess zentaopms/htaccess + # remove tmp, www, data, init them in my.php rm -fr zentaopms/www + rm -fr zentaopms/tmp + rm -fr zentaopms/data # copy the my.php cp build/sae/my.php zentaopms/config/my.php + sed -e 's/PATH_INFO/GET/g' build/sae/my.php > zentaopms/config/my.php + mkdir zentaopms/config/ext # copy the wizard.xml. grep -v 'Storage' build/sae/sae_app_wizard.xml | grep -v 'Memcache' > zentaopms/sae_app_wizard.xml # get the extension files.