update make script for mageia, add a script