unrealircd

- supernets unrealircd source & configuration
git clone git://git.acid.vegas/unrealircd.git
Log | Files | Refs | Archive | README | LICENSE

buildmod (755B)

      1 #!/bin/sh
      2 MAKE="$1"
      3 echo ""
      4 echo "Checking for updates for third party modules..."
      5 # We can't use the "unrealircd" script, since possibly the ircd
      6 # has not been installed to it's final location.. yet.
      7 # So this is basically "unrealircd module upgrade --no-install":
      8 ../../ircd -m upgrade --no-install
      9 echo ""
     10 echo "Building all third party modules..."
     11 for x in *.c
     12 do
     13 if [ "$x" != "*.c" ]; then
     14 	x="`echo $x|sed 's/\.c//'`"
     15 	if [ ! -f $x.so -o $x.c -nt $x.so ]; then
     16 		echo "Building 3rd party module $x..."
     17 		$MAKE custommodule MODULEFILE=$x || (echo "*****"; echo "Building 3rd party module $x failed."; echo "Contact the module author of the $x module (not the UnrealIRCd team), or simply delete the $PWD/$x.c file"; echo "*****"; exit 1)
     18 	fi
     19 fi
     20 done