Removed autotools files and admin module dependency.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>pull/2/head
parent
13e0e185b6
commit
afbb219075
@ -1,6 +1,3 @@
|
|||||||
[submodule "admin"]
|
|
||||||
path = admin
|
|
||||||
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
|
|
||||||
[submodule "cmake"]
|
[submodule "cmake"]
|
||||||
path = cmake
|
path = cmake
|
||||||
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
|
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 68f23556e638353e46b444d3a4863a64936bd36a
|
|
@ -1,28 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<bksys version="2">
|
|
||||||
<compile type="program" dirprefix="src"
|
|
||||||
target="wlassistant"
|
|
||||||
libs="qt-mt tdeui tqt iw">
|
|
||||||
<source file="main.cpp"/>
|
|
||||||
<source file="netlistviewitem.cpp"/>
|
|
||||||
<source file="ui_NetParamsEdit.ui"/>
|
|
||||||
<source file="ui_NetParamsWizard.ui"/>
|
|
||||||
<source file="ui_main.ui"/>
|
|
||||||
<source file="ui_netparamsedit.cpp"/>
|
|
||||||
<source file="ui_netparamswizard.cpp"/>
|
|
||||||
<source file="waconfig.cpp"/>
|
|
||||||
<source file="watools.cpp"/>
|
|
||||||
<source file="wlassistant.cpp"/>
|
|
||||||
</compile>
|
|
||||||
|
|
||||||
<icondir>
|
|
||||||
<icondirent dir="icons"/>
|
|
||||||
</icondir>
|
|
||||||
|
|
||||||
<podir dir="po" name="wlassistant"/>
|
|
||||||
|
|
||||||
<install type="KDEMENU" subdir="Utilities/">
|
|
||||||
<file name="src/wlassistant.desktop"/>
|
|
||||||
</install>
|
|
||||||
|
|
||||||
</bksys>
|
|
@ -1,87 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# Fancy colors used to beautify the output a bit.
|
|
||||||
#
|
|
||||||
NORMAL="\033[0m"
|
|
||||||
BOLD="\033[1m"
|
|
||||||
RED="\033[91m"
|
|
||||||
YELLOW="\033[93m"
|
|
||||||
GREEN="\033[92m"
|
|
||||||
|
|
||||||
# Checks for Python interpreter. Honours $PYTHON if set. Stores path to
|
|
||||||
# interpreter in $PYTHON.
|
|
||||||
#
|
|
||||||
checkPython()
|
|
||||||
{
|
|
||||||
if [ -z $PYTHON ]; then
|
|
||||||
PYTHON=`which python 2> /dev/null`
|
|
||||||
fi
|
|
||||||
echo -n "Checking for Python : "
|
|
||||||
if [ ! -x "$PYTHON" ]; then
|
|
||||||
echo -e $GREEN"not found!"$NORMAL
|
|
||||||
echo "Please make sure that the Python interpreter is available in your PATH"
|
|
||||||
echo "or invoke configure using the PYTHON flag, e.g."
|
|
||||||
echo "$ PYTHON=/usr/local/bin/python configure"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo -e $GREEN"$PYTHON"$NORMAL
|
|
||||||
}
|
|
||||||
|
|
||||||
# Checks for SCons. Honours $SCONS if set. Stores path to 'scons' in $SCONS.
|
|
||||||
# Requires that $PYTHON is set.
|
|
||||||
#
|
|
||||||
checkSCons()
|
|
||||||
{
|
|
||||||
echo -n "Checking for SCons : "
|
|
||||||
if [ -z $SCONS ]; then
|
|
||||||
SCONS=`which scons 2> /dev/null`
|
|
||||||
fi
|
|
||||||
if [ ! -x "$SCONS" ]; then
|
|
||||||
echo -e $BOLD"not found, will use mini distribution."$NORMAL
|
|
||||||
tar xjf bksys/scons-mini.tar.bz2
|
|
||||||
SCONS="./scons"
|
|
||||||
else
|
|
||||||
echo -e $GREEN"$SCONS"$NORMAL
|
|
||||||
fi
|
|
||||||
SCONS="$SCONS"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Generates a Makefile. Requires that $SCONS is set.
|
|
||||||
#
|
|
||||||
generateMakefile()
|
|
||||||
{
|
|
||||||
cat > Makefile << EOF
|
|
||||||
all:
|
|
||||||
@$SCONS
|
|
||||||
|
|
||||||
# it is also possible to use
|
|
||||||
# @$SCONS -j4
|
|
||||||
|
|
||||||
install:
|
|
||||||
@$SCONS install
|
|
||||||
|
|
||||||
clean:
|
|
||||||
@$SCONS -c
|
|
||||||
|
|
||||||
uninstall:
|
|
||||||
@$SCONS -c install
|
|
||||||
|
|
||||||
dist:
|
|
||||||
@$SCONS dist
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
rm -rf cache/
|
|
||||||
|
|
||||||
cleanup:
|
|
||||||
-find . -name '*~' | \
|
|
||||||
xargs rm
|
|
||||||
-find . -name '*.ui' | \
|
|
||||||
xargs perl -pi -e 's#version="3.3"#version="3.2"#; s#^\ *<#<#'
|
|
||||||
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
checkPython
|
|
||||||
checkSCons
|
|
||||||
generateMakefile
|
|
||||||
|
|
||||||
$SCONS configure $@
|
|
@ -1,2 +1,2 @@
|
|||||||
Wireless Assistant (wlassistant) is a small KDE application
|
Wireless Assistant (wlassistant) is a small TDE application
|
||||||
allowing you to easily connect to wireless networks.
|
allowing you to easily connect to wireless networks.
|
||||||
|
Loading…
Reference in New Issue