build
changeset 0 826dd5531eb0
child 2 62ddf5dd4db0
equal deleted inserted replaced
-1:000000000000 0:826dd5531eb0
       
     1 #!/bin/bash
       
     2 
       
     3 # This works for qmake version 4.x and fails for qmake version 3 !
       
     4 # 
       
     5 
       
     6 rm -rf .moc .obj Makefile
       
     7 find -name *~ -exec rm -f {} \;
       
     8 
       
     9 rm -f *.o
       
    10 qmake-qt4 -project .ui
       
    11 qmake-qt4 -makefile
       
    12 
       
    13 make all
       
    14 
       
    15 if [ ! -f /etc/gentoo-release ]
       
    16 then
       
    17 	./post-install;
       
    18 else
       
    19 	echo "Skipping post-install, handled by ebuild";
       
    20 fi
       
    21