You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
# On Linux do this
|
|
|
|
ln -s ../*.{cpp,h,y,l} .
|
|
|
|
ln -s ../{KMultiFormListBox,KWidgetStreamer}/*.{cpp,h} .
|
|
|
|
ln -s $KDESRC/tdelibs/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/tdeutils/doc/KRegExpEditor/index.docbook
|
|
|
|
for x in *.html; do sed 's/<img src="help:[^>]*>//' < $x > tmp.html; mv tmp.html $x; done
|
|
|
|
cp $KDESRC/tdeutils/doc/KRegExpEditor/*.png .
|
|
|
|
cd ..
|
|
|
|
(cd icons; $QTDIR/tools/qembed/qembed --images *.png > ../images.h)
|
|
|
|
|
|
|
|
# Now on windows do the following
|
|
|
|
qmake
|
|
|
|
make
|