From e8be1dfe0b9eb6fd69431184b94f82fc605388e4 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 14 Mar 2006 17:24:29 +0000 Subject: *** empty log message *** --- tools/MIaVAdd | 1 - tools/MocList | 8 +++----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'tools') diff --git a/tools/MIaVAdd b/tools/MIaVAdd index bb342b7..46af5e4 100755 --- a/tools/MIaVAdd +++ b/tools/MIaVAdd @@ -27,7 +27,6 @@ function allfile() { echo " * along with MIaV; if not, write to the Free Software" >> $1; echo " * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA." >> $1; echo " */" >> $1; - echo "#include \"config.h\"" >> $1; } function ccfile() { diff --git a/tools/MocList b/tools/MocList index b69f49f..639b668 100755 --- a/tools/MocList +++ b/tools/MocList @@ -1,11 +1,9 @@ # -*- mode: shell-script; sh-shell: bash; sh-indentation: 2 -*- -if grep "#define USE_GUI" ../config.h > /dev/null ; then - if [ "$1" = "cc" ]; then +if [ "$1" = "cc" ]; then grep "Q_OBJECT" *.h | cut -d: -f1 | sed -e 's/^//g;s/\.h/\.moc.cc/g'| xargs echo; - elif [ "$1" = "o" ]; then +elif [ "$1" = "o" ]; then grep "Q_OBJECT" *.h | cut -d: -f1 | sed -e 's/^//g;s/\.h/\.moc.o/g'| xargs echo; - elif [ "$1" = "h" ]; then +elif [ "$1" = "h" ]; then grep "Q_OBJECT" *.h | cut -d: -f1 | cut -d'/' -f3 | xargs echo; - fi fi -- cgit v1.2.3