-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
89 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +0,0 @@ | ||
|
||
|
||
Steven Pemberton noticed that xmq wrongly reported some IXML grammars | ||
as ambiguous even though they weren't. This is now fixed. Thanks Steven! | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
if [ "$1" = "" ] || [ "$1" = "-h" ] | ||
then | ||
echo "Usage: install.sh [build_dir] [dest_dir] | ||
Example: install.sh build/default/release /usr/local | ||
" | ||
exit 0 | ||
fi | ||
|
||
FROM="$1" | ||
DESTDIR="$2" | ||
|
||
if [ ! -f "$FROM/../spec.inc" ] | ||
then | ||
echo "Oups, please supply a build dir such as build/default/release" | ||
exit 1 | ||
fi | ||
|
||
if [ ! -d "$DESTDIR" ] | ||
then | ||
echo "Oups, please supply a valid dest_dir directory." | ||
exit 1 | ||
fi | ||
|
||
#. "${FROM}/../spec.inc" | ||
|
||
install -Dm 755 -s "${FROM}/xmq" "${DESTDIR}/bin/xmq" | ||
install -Dm 644 -s "${FROM}/libxmq.a" "${DESTDIR}/lib/libxmq.a" | ||
install -Dm 644 -s "${FROM}/libxmq.so" "${DESTDIR}/lib/libxmq.so" | ||
cp "src/main/c/xmq.h" "${DESTDIR}/include/xmq.h" | ||
chmod 644 "src/main/c/xmq.h" | ||
install -Dm 644 "doc/xmq.1" "${DESTDIR}/man/man1/xmq.1" | ||
install -Dm 644 "scripts/autocompletion_for_xmq.sh" "${DESTDIR}/share/bash-completion/completions/xmq" | ||
|
||
echo | ||
echo "xmq and libxmq sucessfully installed." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
if [ "$1" = "" ] || [ "$1" = "-h" ] | ||
then | ||
echo "Usage: uninstall.sh [dest_dir] | ||
Example: uninstall.sh /usr/local | ||
" | ||
exit 0 | ||
fi | ||
|
||
DESTDIR="$1" | ||
|
||
if [ ! -d "$DESTDIR" ] | ||
then | ||
echo "Oups, please supply a valid dest_dir directory." | ||
exit 1 | ||
fi | ||
|
||
rm -f "${DESTDIR}/bin/xmq" | ||
rm -f "${DESTDIR}/lib/libxmq.a" | ||
rm -f "${DESTDIR}/lib/libxmq.so" | ||
rm -f "${DESTDIR}/include/xmq.h" | ||
rm -f "${DESTDIR}/man/man1/xmq.1" | ||
rm -f "${DESTDIR}/share/bash-completion/completions/xmq" | ||
|
||
echo | ||
echo "xmq and libxmq sucessfully uninstalled." |