Alexandre Julliard : winedump: Get rid of the install script.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Aug 25 05:26:59 CDT 2006
Module: wine
Branch: master
Commit: a7447794a57b4f0a2d2fbe7322e0d6dff1832678
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a7447794a57b4f0a2d2fbe7322e0d6dff1832678
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Aug 25 11:50:45 2006 +0200
winedump: Get rid of the install script.
---
tools/winedump/main.c | 1 -
tools/winedump/output.c | 50 ---------------------------------------------
tools/winedump/winedump.h | 2 --
3 files changed, 0 insertions(+), 53 deletions(-)
diff --git a/tools/winedump/main.c b/tools/winedump/main.c
index c2dd516..8d90187 100644
--- a/tools/winedump/main.c
+++ b/tools/winedump/main.c
@@ -480,7 +480,6 @@ #endif
}
output_makefile ();
- output_install_script ();
if (VERBOSE)
puts ("Finished, Cleaning up...");
diff --git a/tools/winedump/output.c b/tools/winedump/output.c
index 198f7e8..8690c20 100644
--- a/tools/winedump/output.c
+++ b/tools/winedump/output.c
@@ -451,56 +451,6 @@ void output_makefile (void)
/*******************************************************************
- * output_install_script
- *
- * Write a script to insert the DLL into Wine
- *
- * Rather than using diff/patch, several sed calls are generated
- * so the script can be re-run at any time without breaking.
- */
-void output_install_script (void)
-{
- FILE *install_file = open_file (OUTPUT_DLL_NAME, "_install", "w");
-
- if (VERBOSE)
- puts ("Creating install script");
-
- fprintf (install_file,
- "#!/bin/bash\n"
- "# Generated from %s.dll by winedump.\n\n"
- "if [ $# -ne 1 ] || [ ! -d $1 ] || [ ! -f $1/AUTHORS ]; then\n"
- "\t[ $# -eq 1 ] && echo \"Invalid path\"\n"
- "\techo \"Usage: $0 wine-base-dir\"\n"
- "\texit 1\n"
- "fi\n\n"
- "if [ -d $1/dlls/%s ]; then\n"
- "\techo \"DLL is already present\"\n"
- "\texit 1\n"
- "fi\n\n"
- "echo Adding DLL %s to Wine build tree...\n\n"
- "mkdir $1/dlls/%s\n"
- "cp %s.spec $1/dlls/%s\n"
- "cp %s_main.c $1/dlls/%s\n"
- "cp %s_dll.h $1/dlls/%s\n"
- "cp Makefile.in $1/dlls/%s/Makefile.in\n"
- "echo Copied DLL files\n\n"
- "cd $1\n\n"
- "sed '/dlls\\/ntdll\\/Makefile/"
- "{G;s/$/dlls\\/%s\\/Makefile/;}' configure.ac >t.tmp\n"
- "mv -f t.tmp configure.ac\n"
- "echo Patched configure.ac\n\n"
- "cd $1/dlls && ./make_dlls\n\n"
- "echo Run \\'autoconf\\', \\'./configure\\' then \\'make\\' to rebuild Wine\n\n",
- OUTPUT_DLL_NAME, OUTPUT_DLL_NAME, OUTPUT_DLL_NAME, OUTPUT_DLL_NAME,
- OUTPUT_DLL_NAME, OUTPUT_DLL_NAME, OUTPUT_DLL_NAME, OUTPUT_DLL_NAME,
- OUTPUT_DLL_NAME, OUTPUT_DLL_NAME, OUTPUT_DLL_NAME, OUTPUT_DLL_NAME);
-
- fchmod (fileno(install_file), 0755);
- fclose (install_file);
-}
-
-
-/*******************************************************************
* output_prototype
*
* Write a C prototype for a parsed symbol
diff --git a/tools/winedump/winedump.h b/tools/winedump/winedump.h
index d9ca8e0..93de9a8 100644
--- a/tools/winedump/winedump.h
+++ b/tools/winedump/winedump.h
@@ -205,8 +205,6 @@ void output_prototype (FILE *file, cons
void output_makefile (void);
-void output_install_script (void);
-
/* Misc functions */
char *str_create (size_t num_str, ...);
More information about the wine-cvs
mailing list