mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 09:01:10 +02:00
7eb3f2cd7f
* Address shellcheck concerns with n2n_gateway.sh script * Rename n2n_gateway.sh to live with all the other scripts (and update docs) * Rename hack_fakeautoconf to make it clearly a shell script * Address shellcheck concerns with hack_fakeautoconf.sh * Rename python scripts to match other n2n tools * Fix windows compile - when streamlining the use of hack_fakeautoconf.sh, I forgot to update all uses of this script
25 lines
577 B
Bash
Executable File
25 lines
577 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Specifically for windows, where installing autoconf looks suspiciously
|
|
# like boiling the ocean.
|
|
|
|
sed \
|
|
-e "s%@N2N_VERSION_SHORT@%FIXME%g" \
|
|
-e "s%@GIT_COMMITS@%FIXME%g" \
|
|
-e "s%@CC@%gcc%g" \
|
|
-e "s%@AR@%ar%g" \
|
|
-e "s%@CFLAGS@%$CFLAGS%g" \
|
|
-e "s%@LDFLAGS@%$LDFLAGS%g" \
|
|
-e "s%@N2N_LIBS@%$LDLIBS%g" \
|
|
< Makefile.in > Makefile
|
|
|
|
sed \
|
|
-e "s%@ADDITIONAL_TOOLS@%%g" \
|
|
< tools/Makefile.in > tools/Makefile
|
|
|
|
cat <<EOF >include/config.h
|
|
#define PACKAGE_VERSION "FIXME"
|
|
#define PACKAGE_OSNAME "FIXME"
|
|
#define GIT_RELEASE "FIXME"
|
|
EOF
|