]> andersk Git - test.git/blobdiff - Makefile.in
Store the keyboard layout in its own HTML file.
[test.git] / Makefile.in
index 018f2349f5f07734faf52d23fe8b66a2a40032fd..1fb1a2b8b1400da20b3b1ca0658b909ce131475e 100644 (file)
@@ -290,6 +290,7 @@ EXTRA_DIST = INSTALL.Debian                                         \
                        demo/demo.jspp                                         \
                        demo/demo.xml                                          \
                        demo/enabled.gif                                       \
+                       demo/keyboard.html                                     \
                        demo/keyboard.png                                      \
                        demo/styles.css                                        \
                        demo/print-styles.css                                  \
@@ -1175,6 +1176,7 @@ ${top_srcdir}/demo/demo.js: ${top_srcdir}/demo/beep.wav                       \
                             ${top_srcdir}/demo/demo.jspp                      \
                             ${top_srcdir}/demo/enabled.gif                    \
                             ${top_srcdir}/demo/favicon.ico                    \
+                            ${top_srcdir}/demo/keyboard.html                  \
                             ${top_srcdir}/demo/keyboard.png                   \
                             ${top_srcdir}/demo/styles.css                     \
                             ${top_srcdir}/demo/print-styles.css               \
@@ -1196,6 +1198,10 @@ ${top_srcdir}/demo/favicon.ico: ${top_srcdir}/shellinabox/favicon.ico
        @rm -f "$@"
        ln "$?" "$@"
 
+${top_srcdir}/demo/keyboard.html: ${top_srcdir}/shellinabox/keyboard-layout.html
+       @rm -f "$@"
+       ln "$?" "$@"
+
 ${top_srcdir}/demo/keyboard.png: ${top_srcdir}/shellinabox/keyboard.png
        @rm -f "$@"
        ln "$?" "$@"
@@ -1312,20 +1318,15 @@ clean-local:
 shellinabox/shell_in_a_box.o: ${top_srcdir}/shellinabox/shell_in_a_box.js     \
                ${top_srcdir}/config.h
 
-${top_srcdir}/shellinabox/vt100.js: ${top_srcdir}/shellinabox/vt100.jspp      \
-               ${top_srcdir}/shellinabox/keyboard-layout.html
+${top_srcdir}/shellinabox/vt100.js: ${top_srcdir}/shellinabox/vt100.jspp
 
 .jspp.js:
        @echo preprocess "$<" "$@"
-       @kbd=`while read i; do                                                \
-               printf '%s' "\`echo "$$i" | sed 's/&/\\\\\\&/g'\`";           \
-             done <${top_srcdir}/shellinabox/keyboard-layout.html`;          \
        sed -e "`sed -e 's/^#define *\([^ ]*\) *\(.*\)/\/^[^#]\/s\/\1\/\2 \\\\\/* \1 *\\\\\/\/g/' \
                     -e t                                                     \
                     -e d "$<"`"                                              \
             -e "s/^#/\/\/ #/"                                                \
             -e "s/VERSION/\"@VERSION@ (revision @VCS_REVISION@)\"/g"         \
-            -e "s%KEYBOARD%'$${kbd}'%"                                       \
             "$<" >"$@"
 
 .js.o:
This page took 0.045243 seconds and 4 git commands to generate.