add -c flag to distribute

This commit is contained in:
Christopher Roy Bratusek 2012-03-18 23:18:05 +01:00
parent 5d1ff3f4bf
commit 602c7b068f
2 changed files with 6 additions and 5 deletions

View File

@ -1,5 +0,0 @@
#!/bin/bash
make -C installer clean
make -C boot clean
make clean

View File

@ -54,4 +54,10 @@ make_distribution ()
echo -e "\n </long_description>\n</app>" >> HomebrewFilter/meta.xml
}
if [[ $1 == "-c" ]]; then
make clean
make -C boot clean
make -Cinstaller clean
fi
make_distribution