Commit 6a65eec3 authored by Florian Schulze's avatar Florian Schulze

Fixed the excludes.

parent b9edf684
...@@ -105,7 +105,7 @@ uninstance: ...@@ -105,7 +105,7 @@ uninstance:
clean: unbuild clean: unbuild
${FIND} "${BASE_DIR}" \ ${FIND} "${BASE_DIR}" \
-name '*.py[co]' -o -name '*.so' -o -name '*.o' | \ -name '*.py[co]' -o -name '*.so' -o -name '*.o' | \
grep -vE "${BASE_DIR}/src|${BASE_DIR}/parts|${BASE_DIR}/eggs" | \ grep -vE "${BASE_DIR}/src|${BASE_DIR}/parts|${BASE_DIR}/eggs|${BASE_DIR}/develop" | \
${XARGS} ${RM} ${XARGS} ${RM}
${RM} "$(BASE_DIR)/lib/python/Zope2/version.txt" ${RM} "$(BASE_DIR)/lib/python/Zope2/version.txt"
${RMRF} build ${RMRF} build
...@@ -127,17 +127,24 @@ sdist_tgz: version_txt ...@@ -127,17 +127,24 @@ sdist_tgz: version_txt
${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tgz \ ${TAR} czfh ${BASE_DIR}/${PACKAGE_NAME}.tgz \
--exclude=${PACKAGE_NAME}.tgz\ --exclude=${PACKAGE_NAME}.tgz\
--exclude=.svn\ --exclude=.svn\
--exclude=.installed.cfg \ --exclude=${PACKAGE_NAME}/.installed.cfg \
--exclude=.DS_Store \ --exclude=.DS_Store \
--exclude=makefile \ --exclude=${PACKAGE_NAME}/bin \
--exclude=build-base \ --exclude=${PACKAGE_NAME}/etc \
--exclude=bootstrap \ --exclude=${PACKAGE_NAME}/import \
--exclude=develop-eggs \ --exclude=${PACKAGE_NAME}/log \
--exclude=eggs \ --exclude=${PACKAGE_NAME}/var \
--exclude=include \ --exclude=${PACKAGE_NAME}/Products \
--exclude=parts \ --exclude=${PACKAGE_NAME}/makefile \
--exclude=src \ --exclude=${PACKAGE_NAME}/build-base \
--exclude=*.cfg \ --exclude=${PACKAGE_NAME}/bootstrap \
--exclude=${PACKAGE_NAME}/develop-eggs \
--exclude=${PACKAGE_NAME}/develop \
--exclude=${PACKAGE_NAME}/eggs \
--exclude=${PACKAGE_NAME}/include \
--exclude=${PACKAGE_NAME}/parts \
--exclude=${PACKAGE_NAME}/src \
--exclude=${PACKAGE_NAME}/*.cfg \
--exclude=*~ \ --exclude=*~ \
--exclude=.#* ${PACKAGE_NAME} --exclude=.#* ${PACKAGE_NAME}
${RMRF} ${TMPDIR}/${PACKAGE_NAME} ${RMRF} ${TMPDIR}/${PACKAGE_NAME}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment