diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2019-10-09 09:50:47 -0700 |
---|---|---|
committer | Joachim Nilsson <troglobit@gmail.com> | 2019-10-09 23:12:47 +0200 |
commit | 932e1ac4e1325449e47ba3000fcb4afa6b740fd1 (patch) | |
tree | eb13507ce28684d48ce9c28f431a7dca718fe921 | |
parent | 5f06bd437954995fb1217e0e2236032acb952500 (diff) | |
download | libnet-932e1ac4e1325449e47ba3000fcb4afa6b740fd1.tar.gz |
Remove unused scripts
Some scripts were out of date, some were specific to my development
environment, and some just aren't used anymore. None should be
distributed. Remove them.
-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) - |