diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/Build | 7 | ||||
-rwxr-xr-x | bin/Check | 9 | ||||
-rwxr-xr-x | bin/Clean | 8 | ||||
-rwxr-xr-x | bin/Package | 16 | ||||
-rwxr-xr-x | bin/Prepare | 17 | ||||
-rwxr-xr-x | bin/Stow | 19 |
6 files changed, 0 insertions, 76 deletions
diff --git a/bin/Build b/bin/Build deleted file mode 100755 index fd0f385..0000000 --- a/bin/Build +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -set -e - -make V=1 -make -C ../lua -make distcheck V=1 && mv libnet-1*.tar.gz libnet-1*.zip .. diff --git a/bin/Check b/bin/Check deleted file mode 100755 index 115de27..0000000 --- a/bin/Check +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -../Clean -../Prepare -../Build -../Stow - diff --git a/bin/Clean b/bin/Clean deleted file mode 100755 index 68f75bb..0000000 --- a/bin/Clean +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -set -x - -git clean -x -d -f - -(cd /usr/local/stow && sudo stow -D libnet) - diff --git a/bin/Package b/bin/Package deleted file mode 100755 index f7f20b8..0000000 --- a/bin/Package +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# run this script as root - -set -x - -V=$(git describe | sed -es/libnet-//) -D=$(date --rfc-822) - -rm -rf debian -cp -r ../debian ./ -sed -es"/VERSION/$V/" -es"/DATE/$D/" < ../debian/changelog > debian/changelog -cat debian/changelog - -dpkg-buildpackage -b -us -uc -i -I.swp - diff --git a/bin/Prepare b/bin/Prepare deleted file mode 100755 index 871c03a..0000000 --- a/bin/Prepare +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -set -x -set -e - -sh ./autogen.sh - -CFLAGS="-O0 -g -Wall --coverage" ./configure - -# NOTES: - -# Coverage data matches the source files more closely if you do not optimize. - -# --coverage -# This option is used to compile and link code instrumented for coverage -# analysis. The option is a synonym for -fprofile-arcs -ftest-coverage -# (when compiling) and -lgcov (when linking). diff --git a/bin/Stow b/bin/Stow deleted file mode 100755 index f5544c0..0000000 --- a/bin/Stow +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -set -x -set -e - -(cd /usr/local/stow && sudo stow -D libnet libnet-*) - -sudo rm -rf /usr/local/stow/libnet -sudo mkdir -p /usr/local/stow/libnet - -make -C doc doc -make -make -C../lua - -sudo make install prefix=/usr/local/stow/libnet -sudo make -C../lua install prefix=/usr/local/stow/libnet - -(cd /usr/local/stow && sudo stow -v libnet) - |