mkqrc.sh@d2c6592178f9
mkqrc.sh
Mon, 10 Mar 2014 14:30:37 +0200
- author
- Santeri Piippo <crimsondusk64@gmail.com>
- date
- Mon, 10 Mar 2014 14:30:37 +0200
- changeset 700
- d2c6592178f9
- parent 455
-
c5d14d112034
- permissions
- -rwxr-xr-x
- only sort and strip duplicates from the objects-staged-to-compile list when actually compiling staged objects, this eliminates needless calls which slowed file loading down a ton.
#!/bin/bash
QRCFILE=ldforge.qrc
FILES=$(echo ./icons/*.* data/*.* LICENSE LICENSE.icons)
printf "" > $QRCFILE
printf "<!DOCTYPE RCC>\n<RCC version=\"1.0\">\n<qresource>\n" >> $QRCFILE
for f in $FILES; do
printf "\t<file>$f</file>\n" >> $QRCFILE
done
printf "</qresource>\n</RCC>\n" >> $QRCFILE