changeset 0 | 826dd5531eb0 |
child 2 | 62ddf5dd4db0 |
new file mode 100755 --- /dev/null +++ b/build @@ -0,0 +1,21 @@ +#!/bin/bash + +# This works for qmake version 4.x and fails for qmake version 3 ! +# + +rm -rf .moc .obj Makefile +find -name *~ -exec rm -f {} \; + +rm -f *.o +qmake-qt4 -project .ui +qmake-qt4 -makefile + +make all + +if [ ! -f /etc/gentoo-release ] +then + ./post-install; +else + echo "Skipping post-install, handled by ebuild"; +fi +