[Title] removed an unused file of samples 28/11028/2
authorGun Kim <gune.kim@samsung.com>
Wed, 16 Oct 2013 14:15:46 +0000 (23:15 +0900)
committerGun Kim <gune.kim@samsung.com>
Wed, 16 Oct 2013 14:22:27 +0000 (23:22 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I579ee55dacc425f2e8e0150b64541faebad26051
Signed-off-by: Gun Kim <gune.kim@samsung.com>
package/build.linux
package/changelog
package/pkginfo.manifest

index fac3268..4038911 100644 (file)
@@ -48,26 +48,42 @@ build()
 clone_samples()
 {
        mkdir -p "${SRCDIR}/${WEB_SAMPLE_DEST_DIR}/"
-    for sample_git_path in ${WEB_SAMPLE_GIT_LIST}
-    do  
-        cd ${SRCDIR}/temp
-        git clone ${GIT_REPOSITORY}:${sample_git_path}
-        sampledir=`basename ${sample_git_path}`
-        cd "${SRCDIR}/temp/${sampledir}"
-        git checkout ${BRANCH}
-        cp -rf "${SRCDIR}/temp/${sampledir}" "${SRCDIR}/${WEB_SAMPLE_DEST_DIR}/"
-    done
+       for sample_git_path in ${WEB_SAMPLE_GIT_LIST}
+       do
+               cd ${SRCDIR}/temp
+               git clone ${GIT_REPOSITORY}:${sample_git_path}
+               sampledir=`basename ${sample_git_path}`
+               cd "${SRCDIR}/temp/${sampledir}"
+               git checkout ${BRANCH}
+               cp -rf "${SRCDIR}/temp/${sampledir}" "${SRCDIR}/${WEB_SAMPLE_DEST_DIR}/"
+       done
+       cd "${SRCDIR}/${WEB_SAMPLE_DEST_DIR}"
+       remove_misc_files
+
 #clone hybrid webapp
        mkdir -p "${SRCDIR}/${HYBRID_SAMPLE_DEST_DIR}/"
-    for sample_git_path in ${HYBRID_SAMPLE_GIT_LIST}
-    do  
-        cd ${SRCDIR}/temp
-        git clone ${GIT_REPOSITORY}:${sample_git_path}
-        sampledir=`basename ${sample_git_path}`
-        cd "${SRCDIR}/temp/${sampledir}"
-        git checkout ${BRANCH}
-        cp -rf "${SRCDIR}/temp/${sampledir}" "${SRCDIR}/${HYBRID_SAMPLE_DEST_DIR}/"
-    done
+       for sample_git_path in ${HYBRID_SAMPLE_GIT_LIST}
+       do
+               cd ${SRCDIR}/temp
+               git clone ${GIT_REPOSITORY}:${sample_git_path}
+               sampledir=`basename ${sample_git_path}`
+               cd "${SRCDIR}/temp/${sampledir}"
+               git checkout ${BRANCH}
+               cp -rf "${SRCDIR}/temp/${sampledir}" "${SRCDIR}/${HYBRID_SAMPLE_DEST_DIR}/"
+       done
+
+       cd "${SRCDIR}/${HYBRID_SAMPLE_DEST_DIR}"
+       remove_misc_files
+
+       cd "${SRCDIR}"
+}
+
+remove_misc_files()
+{
+       find . -type f -name "CMakeLists.txt" -exec rm -rf {} \;
+       find . -type f -name "nofile.dummy" -exec rm -rf {} \;
+       find . -depth -type d -name ".git" -exec rm -rf {} \;
+       find . -depth -type d -name "packaging" -exec rm -rf {} \;
 }
  
 # install
index 6bdb289..7bea545 100644 (file)
@@ -1,3 +1,6 @@
+* 3.0.3
+- Removed an unused file of samples
+== gune.kim <gune.kim@samsung.com> 2013-10-16
 * 3.0.2
 - Added web samples
 == gune.kim <gune.kim@samsung.com> 2013-10-16
index 8410633..fd916b7 100644 (file)
@@ -1,4 +1,4 @@
-Version:3.0.2
+Version:3.0.3
 Maintainer: Shinjae Lee<poiema@samsung.com>, Junghak Kim<kjh5@samsung.com>, Kangho Kim<kh5325.kim@samsung.com>, Gun Kim<gune.kim@samsung.com>
 
 Package:mobile-3.0-web-sample