install process working
authorcasta <casta@78f58264-58f8-0310-be4b-c7ad7e3b7018>
Mon, 22 Aug 2005 17:16:40 +0000 (17:16 +0000)
committercasta <casta@78f58264-58f8-0310-be4b-c7ad7e3b7018>
Mon, 22 Aug 2005 17:16:40 +0000 (17:16 +0000)
git-svn-id: svn+ssh://svn.xwing.info/home/svn/gtk-fuser/trunk@477 78f58264-58f8-0310-be4b-c7ad7e3b7018

configure

index c3106d53cf37f45d31d7b2044c36bca749404ba9..ff5b2145d4e0b64db628bfd549aca4a71af6e157 100755 (executable)
--- a/configure
+++ b/configure
@@ -36,17 +36,8 @@ processTimeout=$ret
 askBin "Install prefix" "/usr/local"
 installPrefix=$ret
 
-sed -si "s/^my \$fuserCommand.*;$/my \$fuserCommand = \"$fuserPath\";/" gtk-fuser
-sed -si "s/^my \$SigtermTimeout.*;$/my \$SigtermTimeout = $processTimeout;/" gtk-fuser
-
-# Generate configuration output
-echo "package MyConfig;
-
-\$configFuserPath = \"$fuserPath\";
-\$configProcessTimeout = $processTimeout;
-
-1;
-" > MyConfig.pm
+sed -sri "s#^my \\\$fuserCommand.*;\$#my \$fuserCommand = \"$fuserPath\";#" gtk-fuser
+sed -sri "s#^my \\\$SigtermTimeout.*;\$#my \$SigtermTimeout = $processTimeout;#" gtk-fuser
 
 # Generate Makefile
 echo "####################################
@@ -60,7 +51,7 @@ BIN = gtk-fuser
 all: install
 
 install:
-       @install -m 0755 \${BIN}-prepared \${BINPATH}/\${BIN}
+       @install -m 0755 \${BIN} \${BINPATH}/\${BIN}
        @echo \"Done\"
 " > Makefile