Commit 3fd73537 authored by Sam Hocevar's avatar Sam Hocevar

. le make snapshot fait un .bz2 aussi

parent b8397f8f
...@@ -366,10 +366,12 @@ snapshot: ...@@ -366,10 +366,12 @@ snapshot:
find . -type d -name CVS | xargs rm -rf ; \ find . -type d -name CVS | xargs rm -rf ; \
find . -type f -name '.*.swp' | xargs rm -f ; \ find . -type f -name '.*.swp' | xargs rm -f ; \
cd .. ; \ cd .. ; \
tar czvf ${SNAPSHOTDIR}.tar.gz ${SNAPSHOTDIR} ) tar czvf ${SNAPSHOTDIR}.tar.gz ${SNAPSHOTDIR} ; \
tar cIvf ${SNAPSHOTDIR}.tar.bz2 ${SNAPSHOTDIR} )
rm -rf /tmp/${SNAPSHOTDIR} rm -rf /tmp/${SNAPSHOTDIR}
mv /tmp/${SNAPSHOTDIR}.tar.gz .. mv /tmp/${SNAPSHOTDIR}.tar.gz ..
@echo "Sources are in ../${SNAPSHOTDIR}.tar.gz" mv /tmp/${SNAPSHOTDIR}.tar.bz2 ..
@echo "Sources are in ../${SNAPSHOTDIR}.tar.[gz,bz2]"
FORCE: FORCE:
......
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