Changeset f84a3bf3cd31e9ed9b5b004c7a24d3e6cd13ce82
- Timestamp:
- 04/07/06 23:14:52
(2 years ago)
- Author:
- Christophe Mutricy <xtophe@videolan.org>
- git-committer:
- Christophe Mutricy <xtophe@videolan.org> 1144444492 +0000
- git-parent:
[dc723a84d4d51c3db68193966c46be82dd0f7e15]
- git-author:
- Christophe Mutricy <xtophe@videolan.org> 1144444492 +0000
- Message:
Don't use char outside ascii in shell script.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r7211d64 |
rf84a3bf |
|
| 84 | 84 | # Begin Group "Source Files" |
|---|
| 85 | 85 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" |
|---|
| 86 | | �SOURCES� |
|---|
| | 86 | ZSOURCESZ |
|---|
| 87 | 87 | # End Group |
|---|
| 88 | 88 | # Begin Group "Header Files" |
|---|
| 89 | 89 | # PROP Default_Filter "h;hpp;hxx;hm;inl" |
|---|
| 90 | | �HEADERS� |
|---|
| | 90 | ZHEADERSZ |
|---|
| 91 | 91 | # End Group |
|---|
| 92 | 92 | # End Target |
|---|
| r96537a3 |
rf84a3bf |
|
| 4 | 4 | Version="7.10" |
|---|
| 5 | 5 | Name="liblvc" |
|---|
| 6 | | ProjectGUID="{�GUID�}" |
|---|
| | 6 | ProjectGUID="{ZGUIDZ}" |
|---|
| 7 | 7 | RootNamespace="libvlc" |
|---|
| 8 | 8 | Keyword="Win32Proj"> |
|---|
| … | … | |
| 103 | 103 | <Files> |
|---|
| 104 | 104 | <Filter Name="Source Files" Filter="c;cpp"> |
|---|
| 105 | | �SOURCES� |
|---|
| | 105 | ZSOURCESZ |
|---|
| 106 | 106 | </Filter> |
|---|
| 107 | 107 | <Filter Name="Header Files" Filter="h;hpp"> |
|---|
| 108 | | �HEADERS� |
|---|
| | 108 | ZHEADERSZ |
|---|
| 109 | 109 | </Filter> |
|---|
| 110 | 110 | </Files> |
|---|
| r2572249 |
rf84a3bf |
|
| 1 | | # Microsoft Developer Studio Project File - Name="plugin_�PLUGIN�" - Package Owner=<4> |
|---|
| | 1 | # Microsoft Developer Studio Project File - Name="plugin_ZPLUGINZ" - Package Owner=<4> |
|---|
| 2 | 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 |
|---|
| 3 | 3 | # ** DO NOT EDIT ** |
|---|
| … | … | |
| 5 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 |
|---|
| 6 | 6 | |
|---|
| 7 | | CFG=plugin_�PLUGIN� - Win32 Debug |
|---|
| | 7 | CFG=plugin_ZPLUGINZ - Win32 Debug |
|---|
| 8 | 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, |
|---|
| 9 | 9 | !MESSAGE use the Export Makefile command and run |
|---|
| 10 | 10 | !MESSAGE |
|---|
| 11 | | !MESSAGE NMAKE /f "plugin_�PLUGIN�.mak". |
|---|
| | 11 | !MESSAGE NMAKE /f "plugin_ZPLUGINZ.mak". |
|---|
| 12 | 12 | !MESSAGE |
|---|
| 13 | 13 | !MESSAGE You can specify a configuration when running NMAKE |
|---|
| 14 | 14 | !MESSAGE by defining the macro CFG on the command line. For example: |
|---|
| 15 | 15 | !MESSAGE |
|---|
| 16 | | !MESSAGE NMAKE /f "plugin_�PLUGIN�.mak" CFG="plugin_�PLUGIN� - Win32 Debug" |
|---|
| | 16 | !MESSAGE NMAKE /f "plugin_ZPLUGINZ.mak" CFG="plugin_ZPLUGINZ - Win32 Debug" |
|---|
| 17 | 17 | !MESSAGE |
|---|
| 18 | 18 | !MESSAGE Possible choices for configuration are: |
|---|
| 19 | 19 | !MESSAGE |
|---|
| 20 | | !MESSAGE "plugin_�PLUGIN� - Win32 Release" (based on "Win32 (x86) Console Application") |
|---|
| 21 | | !MESSAGE "plugin_�PLUGIN� - Win32 Debug" (based on "Win32 (x86) Console Application") |
|---|
| | 20 | !MESSAGE "plugin_ZPLUGINZ - Win32 Release" (based on "Win32 (x86) Console Application") |
|---|
| | 21 | !MESSAGE "plugin_ZPLUGINZ - Win32 Debug" (based on "Win32 (x86) Console Application") |
|---|
| 22 | 22 | !MESSAGE |
|---|
| 23 | 23 | |
|---|
| … | … | |
| 29 | 29 | RSC=rc.exe |
|---|
| 30 | 30 | |
|---|
| 31 | | !IF "$(CFG)" == "plugin_�PLUGIN� - Win32 Release" |
|---|
| | 31 | !IF "$(CFG)" == "plugin_ZPLUGINZ - Win32 Release" |
|---|
| 32 | 32 | |
|---|
| 33 | 33 | # PROP BASE Use_MFC 0 |
|---|
| … | … | |
| 50 | 50 | # ADD BSC32 /nologo |
|---|
| 51 | 51 | LINK32=link.exe |
|---|
| 52 | | # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib /nologo /dll /machine:I386 /entry:_CRT_INIT@12 /out:"plugins\lib�PLUGIN�_plugin.dll" |
|---|
| 53 | | # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib netapi32.lib winmm.lib comctl32.lib rpcrt4.lib /nologo /dll /machine:I386 /entry:_CRT_INIT@12 /opt:ref /out:"plugins\lib�PLUGIN�_plugin.dll" |
|---|
| | 52 | # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib /nologo /dll /machine:I386 /entry:_CRT_INIT@12 /out:"plugins\libZPLUGINZ_plugin.dll" |
|---|
| | 53 | # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib netapi32.lib winmm.lib comctl32.lib rpcrt4.lib /nologo /dll /machine:I386 /entry:_CRT_INIT@12 /opt:ref /out:"plugins\libZPLUGINZ_plugin.dll" |
|---|
| 54 | 54 | |
|---|
| 55 | | !ELSEIF "$(CFG)" == "plugin_�PLUGIN� - Win32 Debug" |
|---|
| | 55 | !ELSEIF "$(CFG)" == "plugin_ZPLUGINZ - Win32 Debug" |
|---|
| 56 | 56 | |
|---|
| 57 | 57 | # PROP BASE Use_MFC 0 |
|---|
| … | … | |
| 74 | 74 | # ADD BSC32 /nologo |
|---|
| 75 | 75 | LINK32=link.exe |
|---|
| 76 | | # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib /nologo /dll /subsystem:console /debug /machine:I386 /pdbtype:sept /entry:_CRT_INIT@12 /pdb:"plugins\lib�PLUGIN�_plugin.pdb" /out:"plugins\lib�PLUGIN�_plugin.dll" |
|---|
| | 76 | # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib /nologo /dll /subsystem:console /debug /machine:I386 /pdbtype:sept /entry:_CRT_INIT@12 /pdb:"plugins\libZPLUGINZ_plugin.pdb" /out:"plugins\libZPLUGINZ_plugin.dll" |
|---|
| 77 | 77 | # SUBTRACT BASE LINK32 /pdb:none |
|---|
| 78 | | # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib netapi32.lib winmm.lib comctl32.lib rpcrt4.lib /nologo /dll /subsystem:console /debug /machine:I386 /pdbtype:sept /entry:_CRT_INIT@12 /pdb:"plugins\lib�PLUGIN�_plugin.pdb" /out:"plugins\lib�PLUGIN�_plugin.dll" |
|---|
| | 78 | # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib netapi32.lib winmm.lib comctl32.lib rpcrt4.lib /nologo /dll /subsystem:console /debug /machine:I386 /pdbtype:sept /entry:_CRT_INIT@12 /pdb:"plugins\libZPLUGINZ_plugin.pdb" /out:"plugins\libZPLUGINZ_plugin.dll" |
|---|
| 79 | 79 | # SUBTRACT LINK32 /pdb:none |
|---|
| 80 | 80 | |
|---|
| … | … | |
| 83 | 83 | # Begin Target |
|---|
| 84 | 84 | |
|---|
| 85 | | # Name "plugin_�PLUGIN� - Win32 Release" |
|---|
| 86 | | # Name "plugin_�PLUGIN� - Win32 Debug" |
|---|
| | 85 | # Name "plugin_ZPLUGINZ - Win32 Release" |
|---|
| | 86 | # Name "plugin_ZPLUGINZ - Win32 Debug" |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | # Begin Group "Source Files" |
|---|
| … | … | |
| 90 | 90 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" |
|---|
| 91 | 91 | |
|---|
| 92 | | �SOURCES� |
|---|
| | 92 | ZSOURCESZ |
|---|
| 93 | 93 | |
|---|
| 94 | 94 | # End Group |
|---|
| … | … | |
| 98 | 98 | # PROP Default_Filter "h;hpp;hxx;hm;inl" |
|---|
| 99 | 99 | |
|---|
| 100 | | �HEADERS� |
|---|
| | 100 | ZHEADERSZ |
|---|
| 101 | 101 | |
|---|
| 102 | 102 | # End Group |
|---|
| r96537a3 |
rf84a3bf |
|
| 3 | 3 | ProjectType="Visual C++" |
|---|
| 4 | 4 | Version="7.10" |
|---|
| 5 | | Name="�PLUGIN�" |
|---|
| 6 | | ProjectGUID="{�GUID�}" |
|---|
| 7 | | RootNamespace="�PLUGIN�" |
|---|
| | 5 | Name="ZPLUGINZ" |
|---|
| | 6 | ProjectGUID="{ZGUIDZ}" |
|---|
| | 7 | RootNamespace="ZPLUGINZ" |
|---|
| 8 | 8 | Keyword="Win32Proj"> |
|---|
| 9 | 9 | <Platforms> |
|---|
| … | … | |
| 22 | 22 | Optimization="0" |
|---|
| 23 | 23 | AdditionalIncludeDirectories=".;..\include" |
|---|
| 24 | | PreprocessorDefinitions="WIN32;_DEBUG;__VLC__;__PLUGIN__;MODULE_NAME=�PLUGIN�" |
|---|
| | 24 | PreprocessorDefinitions="WIN32;_DEBUG;__VLC__;__PLUGIN__;MODULE_NAME=ZPLUGINZ" |
|---|
| 25 | 25 | MinimalRebuild="TRUE" |
|---|
| 26 | 26 | BasicRuntimeChecks="3" |
|---|
| … | … | |
| 73 | 73 | Name="VCCLCompilerTool" |
|---|
| 74 | 74 | AdditionalIncludeDirectories=".;..\include" |
|---|
| 75 | | PreprocessorDefinitions="WIN32;NDEBUG;__VLC__;__PLUGIN__;MODULE_NAME=�PLUGIN�" |
|---|
| | 75 | PreprocessorDefinitions="WIN32;NDEBUG;__VLC__;__PLUGIN__;MODULE_NAME=ZPLUGINZ" |
|---|
| 76 | 76 | RuntimeLibrary="4" |
|---|
| 77 | 77 | UsePrecompiledHeader="3" |
|---|
| … | … | |
| 116 | 116 | <Files> |
|---|
| 117 | 117 | <Filter Name="Source Files" Filter="c;cpp"> |
|---|
| 118 | | �SOURCES� |
|---|
| | 118 | ZSOURCESZ |
|---|
| 119 | 119 | </Filter> |
|---|
| 120 | 120 | <Filter Name="Header Files" Filter="h;hpp"> |
|---|
| 121 | | �HEADERS� |
|---|
| | 121 | ZHEADERSZ |
|---|
| 122 | 122 | </Filter> |
|---|
| 123 | 123 | </Files> |
|---|
| r847ed5c |
rf84a3bf |
|
| 87 | 87 | # Begin Group "Source Files" |
|---|
| 88 | 88 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" |
|---|
| 89 | | �SOURCES� |
|---|
| | 89 | ZSOURCESZ |
|---|
| 90 | 90 | # End Group |
|---|
| 91 | 91 | |
|---|
| r96537a3 |
rf84a3bf |
|
| 4 | 4 | Version="7.10" |
|---|
| 5 | 5 | Name="vlc" |
|---|
| 6 | | ProjectGUID="{�GUID�}" |
|---|
| | 6 | ProjectGUID="{ZGUIDZ}" |
|---|
| 7 | 7 | Keyword="Win32Proj"> |
|---|
| 8 | 8 | <Platforms> |
|---|
| … | … | |
| 119 | 119 | <Files> |
|---|
| 120 | 120 | <Filter Name="Source Files" Filter="cpp;c"> |
|---|
| 121 | | �SOURCES� |
|---|
| | 121 | ZSOURCESZ |
|---|
| 122 | 122 | </Filter> |
|---|
| 123 | 123 | <Filter Name="Resource Files" Filter="rc"> |
|---|
| rbe62d28 |
rf84a3bf |
|
| 180 | 180 | printf "." |
|---|
| 181 | 181 | # Top of the project file |
|---|
| 182 | | perl -pe 'if(/§SOURCES§/){last;}' < ${target}.in > ${target} |
|---|
| | 182 | perl -pe 'if(/ZSOURCESZ/){last;}' < ${target}.in > ${target} |
|---|
| 183 | 183 | # The source files |
|---|
| 184 | 184 | for file in `for i in ${LIBVLC_SOURCES} ; do echo $i ; done | grep -v "/.*/"` |
|---|
| … | … | |
| 277 | 277 | done |
|---|
| 278 | 278 | # The headers |
|---|
| 279 | | perl -e 'while(<>){if(/§SOURCES§/){last;}}while(<>){if(/§HEADERS§/){last;}print $_}' < ${target}.in >> ${target} |
|---|
| | 279 | perl -e 'while(<>){if(/ZSOURCESZ/){last;}}while(<>){if(/ZHEADERSZ/){last;}print $_}' < ${target}.in >> ${target} |
|---|
| 280 | 280 | for file in ${LIBVLC_HEADERS} |
|---|
| 281 | 281 | do |
|---|
| … | … | |
| 300 | 300 | # End Group${M} |
|---|
| 301 | 301 | EOF |
|---|
| 302 | | perl -e 'while(<>){if(/§HEADERS§/){last;}}while(<>){print $_}' < ${target}.in >> ${target} |
|---|
| | 302 | perl -e 'while(<>){if(/ZHEADERSZ/){last;}}while(<>){print $_}' < ${target}.in >> ${target} |
|---|
| 303 | 303 | done |
|---|
| 304 | 304 | |
|---|
| … | … | |
| 321 | 321 | target="${msdir}/plugin_${mod}.${suf}" |
|---|
| 322 | 322 | printf "." |
|---|
| 323 | | perl -pe 'if(/§SOURCES§/){last;} s/§PLUGIN§/'${mod}'/g' < ${source} > ${target} |
|---|
| | 323 | perl -pe 'if(/ZSOURCESZ/){last;} s/ZPLUGINZ/'${mod}'/g' < ${source} > ${target} |
|---|
| 324 | 324 | for cfile in ${cfiles} |
|---|
| 325 | 325 | do |
|---|
| … | … | |
| 338 | 338 | done |
|---|
| 339 | 339 | # sed is really nicer for this... unfortunately it's broken under cygwin |
|---|
| 340 | | # sed -ne '1,/§SOURCES§/d; /§HEADERS§/,$d; p' < ${source} >> ${target} |
|---|
| 341 | | perl -e 'while(<>){if(/§SOURCES§/){last;}}while(<>){if(/§HEADERS§/){last;}print $_}' < ${source} >> ${target} |
|---|
| | 340 | # sed -ne '1,/ZSOURCESZ/d; /ZHEADERSZ/,$d; p' < ${source} >> ${target} |
|---|
| | 341 | perl -e 'while(<>){if(/ZSOURCESZ/){last;}}while(<>){if(/ZHEADERSZ/){last;}print $_}' < ${source} >> ${target} |
|---|
| 342 | 342 | for hfile in ${hfiles} |
|---|
| 343 | 343 | do |
|---|
| … | … | |
| 348 | 348 | EOF |
|---|
| 349 | 349 | done |
|---|
| 350 | | # sed -ne '1,/§HEADERS§/d; p' < ${source} >> ${target} |
|---|
| 351 | | perl -e 'while(<>){if(/§HEADERS§/){last;}}while(<>){print $_}' < ${source} >> ${target} |
|---|
| | 350 | # sed -ne '1,/ZHEADERSZ/d; p' < ${source} >> ${target} |
|---|
| | 351 | perl -e 'while(<>){if(/ZHEADERSZ/){last;}}while(<>){print $_}' < ${source} >> ${target} |
|---|
| 352 | 352 | done |
|---|
| 353 | 353 | done |
|---|
| … | … | |
| 359 | 359 | printf "." |
|---|
| 360 | 360 | # Top of the project file |
|---|
| 361 | | perl -pe 'if(/§SOURCES§/){last;}' < ${target}.in > ${target} |
|---|
| | 361 | perl -pe 'if(/ZSOURCESZ/){last;}' < ${target}.in > ${target} |
|---|
| 362 | 362 | # The source files |
|---|
| 363 | 363 | cat >> ${target} << EOF |
|---|
| … | … | |
| 367 | 367 | EOF |
|---|
| 368 | 368 | # Bottom of the project file - handles resource files too |
|---|
| 369 | | perl -e 'while(<>){if(/§SOURCES§/){last;}}while(<>){print $_}' < ${target}.in >> ${target} |
|---|
| | 369 | perl -e 'while(<>){if(/ZSOURCESZ/){last;}}while(<>){print $_}' < ${target}.in >> ${target} |
|---|
| 370 | 370 | done |
|---|
| 371 | 371 | |
|---|
| … | … | |
| 417 | 417 | # Top of the project file |
|---|
| 418 | 418 | guid=`perl -e 'sub r {return sprintf("%X", int rand(65536))} print r.r."-".r."-".r."-".r."-".r.r.r'` |
|---|
| 419 | | perl -pe 'if(/§SOURCES§/){last;} s/§GUID§/'${guid}'/g' < ${target}.in > ${target} |
|---|
| | 419 | perl -pe 'if(/ZSOURCESZ/){last;} s/ZGUIDZ/'${guid}'/g' < ${target}.in > ${target} |
|---|
| 420 | 420 | # The source files |
|---|
| 421 | 421 | cat >> ${target} << EOF |
|---|
| … | … | |
| 423 | 423 | EOF |
|---|
| 424 | 424 | # Bottom of the project file - handles resource files too |
|---|
| 425 | | perl -e 'while(<>){if(/§SOURCES§/){last;}}while(<>){print $_}' < ${target}.in >> ${target} |
|---|
| | 425 | perl -e 'while(<>){if(/ZSOURCESZ/){last;}}while(<>){print $_}' < ${target}.in >> ${target} |
|---|
| 426 | 426 | |
|---|
| 427 | 427 | # libvlc files |
|---|
| … | … | |
| 430 | 430 | # Top of the project file |
|---|
| 431 | 431 | guid=`perl -e 'sub r {return sprintf("%X", int rand(65536))} print r.r."-".r."-".r."-".r."-".r.r.r'` |
|---|
| 432 | | perl -pe 'if(/§SOURCES§/){last;} s/§GUID§/'${guid}'/g' < ${target}.in > ${target} |
|---|
| | 432 | perl -pe 'if(/ZSOURCESZ/){last;} s/ZGUIDZ/'${guid}'/g' < ${target}.in > ${target} |
|---|
| 433 | 433 | # The source files |
|---|
| 434 | 434 | for file in `for i in ${LIBVLC_SOURCES} ; do echo $i ; done | grep -v "/.*/"` |
|---|
| … | … | |
| 465 | 465 | done |
|---|
| 466 | 466 | # The headers |
|---|
| 467 | | perl -e 'while(<>){if(/§SOURCES§/){last;}}while(<>){if(/§HEADERS§/){last;}print $_}' < ${target}.in >> ${target} |
|---|
| | 467 | perl -e 'while(<>){if(/ZSOURCESZ/){last;}}while(<>){if(/ZHEADERSZ/){last;}print $_}' < ${target}.in >> ${target} |
|---|
| 468 | 468 | for file in ${LIBVLC_HEADERS} |
|---|
| 469 | 469 | do |
|---|
| … | … | |
| 484 | 484 | </Filter>${M} |
|---|
| 485 | 485 | EOF |
|---|
| 486 | | perl -e 'while(<>){if(/§HEADERS§/){last;}}while(<>){print $_}' < ${target}.in >> ${target} |
|---|
| | 486 | perl -e 'while(<>){if(/ZHEADERSZ/){last;}}while(<>){print $_}' < ${target}.in >> ${target} |
|---|
| 487 | 487 | |
|---|
| 488 | 488 | # plugins files |
|---|
| … | … | |
| 504 | 504 | printf "." |
|---|
| 505 | 505 | guid=`perl -e 'sub r {return sprintf("%X", int rand(65536))} print r.r."-".r."-".r."-".r."-".r.r.r'` |
|---|
| 506 | | perl -pe 'if(/§SOURCES§/){last;} s/§PLUGIN§/'${mod}'/g' < ${source} | sed 's,§GUID§,'${guid}',' > ${target} |
|---|
| | 506 | perl -pe 'if(/ZSOURCESZ/){last;} s/ZPLUGINZ/'${mod}'/g' < ${source} | sed 's,ZGUIDZ,'${guid}',' > ${target} |
|---|
| 507 | 507 | for cfile in ${cfiles} |
|---|
| 508 | 508 | do |
|---|
| … | … | |
| 512 | 512 | done |
|---|
| 513 | 513 | # sed is really nicer for this... unfortunately it's broken under cygwin |
|---|
| 514 | | # sed -ne '1,/§SOURCES§/d; /§HEADERS§/,$d; p' < ${source} >> ${target} |
|---|
| 515 | | perl -e 'while(<>){if(/§SOURCES§/){last;}}while(<>){if(/§HEADERS§/){last;}print $_}' < ${source} >> ${target} |
|---|
| | 514 | # sed -ne '1,/ZSOURCESZ/d; /ZHEADERSZ/,$d; p' < ${source} >> ${target} |
|---|
| | 515 | perl -e 'while(<>){if(/ZSOURCESZ/){last;}}while(<>){if(/ZHEADERSZ/){last;}print $_}' < ${source} >> ${target} |
|---|
| 516 | 516 | for hfile in ${hfiles} |
|---|
| 517 | 517 | do |
|---|
| … | … | |
| 520 | 520 | EOF |
|---|
| 521 | 521 | done |
|---|
| 522 | | # sed -ne '1,/§HEADERS§/d; p' < ${source} >> ${target} |
|---|
| 523 | | perl -e 'while(<>){if(/§HEADERS§/){last;}}while(<>){print $_}' < ${source} >> ${target} |
|---|
| | 522 | # sed -ne '1,/ZHEADERSZ/d; p' < ${source} >> ${target} |
|---|
| | 523 | perl -e 'while(<>){if(/ZHEADERSZ/){last;}}while(<>){print $_}' < ${source} >> ${target} |
|---|
| 524 | 524 | done |
|---|
| 525 | 525 | done |
|---|