diff options
Diffstat (limited to 'kregexpeditor/qt-only/compile')
-rwxr-xr-x | kregexpeditor/qt-only/compile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kregexpeditor/qt-only/compile b/kregexpeditor/qt-only/compile new file mode 100755 index 0000000..d6fb6c6 --- /dev/null +++ b/kregexpeditor/qt-only/compile @@ -0,0 +1,28 @@ +#!/bin/bash +# On Linux do this +ln -s ../*.{cpp,h,y,l} . +ln -s ../{KMultiFormListBox,KWidgetStreamer}/*.{cpp,h} . +ln -s $KDESRC/kdelibs/interfaces/kregexpeditor/kregexpeditorinterface.h . +ln -s gen_qregexpparser.cc gen_qregexpparser.cpp +touch unistd.h +mkdir icons +cp ../picts/* icons +cp $KDEDIR/share/icons/crystalsvg/22x22/actions/{undo,redo,editcut,editcopy,editpaste,fileopen,filesave,contexthelp,1downarrow,1uparrow}.png icons +mkdir predefined +mkdir predefined/General +cp ../predefined/General/*.regexp predefined/General + +flex -Pqregexp -ogen_qregexplexer.cpp qregexpparser.l +bison -d -p qregexp -o gen_qregexpparser.cc qregexpparser.y + +mkdir manual +cd manual +meinproc $KDESRC/kdeutils/doc/KRegExpEditor/index.docbook +for x in *.html; do sed 's/<img src="help:[^>]*>//' < $x > tmp.html; mv tmp.html $x; done +cp $KDESRC/kdeutils/doc/KRegExpEditor/*.png . +cd .. +(cd icons; $QTDIR/tools/qembed/qembed --images *.png > ../images.h) + +# Now on windows do the following +qmake +make |