From d249077169153beee3c960aeed815d38caafa1ae Mon Sep 17 00:00:00 2001 From: zodiac Date: Mon, 30 Mar 2009 09:00:41 +0000 Subject: [PATCH] Symbolic links do not appear to work for the Google Code web server. Use hard linked files in demo/*, instead. git-svn-id: https://shellinabox.googlecode.com/svn/trunk@95 0da03de8-d603-11dd-86c2-0f8696b7b6f9 --- Makefile.am | 23 +++++++++++++++++++++++ Makefile.in | 22 ++++++++++++++++++++++ demo/beep.wav | 1 - demo/favicon.ico | 1 - demo/styles.css | 1 - demo/vt100.js | 1 - 6 files changed, 45 insertions(+), 4 deletions(-) delete mode 120000 demo/beep.wav delete mode 120000 demo/favicon.ico delete mode 120000 demo/styles.css delete mode 120000 demo/vt100.js diff --git a/Makefile.am b/Makefile.am index 1f7ca61..93d8817 100644 --- a/Makefile.am +++ b/Makefile.am @@ -89,6 +89,29 @@ shellinaboxd_LDFLAGS = -static libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck + +${top_srcdir}/demo/demo.js: ${top_srcdir}/demo/beep.wav \ + ${top_srcdir}/demo/demo.jspp \ + ${top_srcdir}/demo/favicon.ico \ + ${top_srcdir}/demo/styles.css \ + ${top_srcdir}/demo/vt100.js + +${top_srcdir}/demo/beep.wav: ${top_srcdir}/shellinabox/beep.wav + @rm -f "$@" + ln "$<" "$@" + +${top_srcdir}/demo/favicon.ico: ${top_srcdir}/shellinabox/favicon.ico + @rm -f "$@" + ln "$<" "$@" + +${top_srcdir}/demo/styles.css: ${top_srcdir}/shellinabox/styles.css + @rm -f "$@" + ln "$<" "$@" + +${top_srcdir}/demo/vt100.js: ${top_srcdir}/shellinabox/vt100.js + @rm -f "$@" + ln "$<" "$@" + shellinaboxd.1: shellinabox/shellinaboxd.man.in config.h @src="${top_srcdir}/shellinabox/shellinaboxd.man.in"; \ echo preprocess "$$src" '>'"$@"; \ diff --git a/Makefile.in b/Makefile.in index 770d552..ebf698b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1003,6 +1003,28 @@ uninstall-man: uninstall-man1 libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck +${top_srcdir}/demo/demo.js: ${top_srcdir}/demo/beep.wav \ + ${top_srcdir}/demo/demo.jspp \ + ${top_srcdir}/demo/favicon.ico \ + ${top_srcdir}/demo/styles.css \ + ${top_srcdir}/demo/vt100.js + +${top_srcdir}/demo/beep.wav: ${top_srcdir}/shellinabox/beep.wav + -rm -f "$@" + ln "$<" "$@" + +${top_srcdir}/demo/favicon.ico: ${top_srcdir}/shellinabox/favicon.ico + -rm -f "$@" + ln "$<" "$@" + +${top_srcdir}/demo/styles.css: ${top_srcdir}/shellinabox/styles.css + -rm -f "$@" + ln "$<" "$@" + +${top_srcdir}/demo/vt100.js: ${top_srcdir}/shellinabox/vt100.js + -rm -f "$@" + ln "$<" "$@" + shellinaboxd.1: shellinabox/shellinaboxd.man.in config.h @src="${top_srcdir}/shellinabox/shellinaboxd.man.in"; \ echo preprocess "$$src" '>'"$@"; \ diff --git a/demo/beep.wav b/demo/beep.wav deleted file mode 120000 index 63a996d..0000000 --- a/demo/beep.wav +++ /dev/null @@ -1 +0,0 @@ -../shellinabox/beep.wav \ No newline at end of file diff --git a/demo/favicon.ico b/demo/favicon.ico deleted file mode 120000 index 68215d3..0000000 --- a/demo/favicon.ico +++ /dev/null @@ -1 +0,0 @@ -../shellinabox/favicon.ico \ No newline at end of file diff --git a/demo/styles.css b/demo/styles.css deleted file mode 120000 index 56f3b96..0000000 --- a/demo/styles.css +++ /dev/null @@ -1 +0,0 @@ -../shellinabox/styles.css \ No newline at end of file diff --git a/demo/vt100.js b/demo/vt100.js deleted file mode 120000 index 6cacc8e..0000000 --- a/demo/vt100.js +++ /dev/null @@ -1 +0,0 @@ -../shellinabox/vt100.js \ No newline at end of file