make_progs: Generate the .gitignore file.

Ignore generated programs from the top-level .gitignore.
This commit is contained in:
Alexandre Julliard 2006-07-10 20:59:06 +02:00
parent 5258e061dc
commit 028ab92bf7
38 changed files with 61 additions and 36 deletions

37
programs/.gitignore vendored
View File

@ -1,3 +1,40 @@
# Automatically generated by make_dlls; DO NOT EDIT!!
/Makeprog.rules /Makeprog.rules
/wineapploader /wineapploader
/winelauncher /winelauncher
clock/clock
cmdlgtst/cmdlgtst
control/control
eject/eject
expand/expand
explorer/explorer
hh/hh
icinfo/icinfo
iexplore/iexplore
msiexec/msiexec
notepad/notepad
oleview/oleview
progman/progman
regedit/regedit
regsvr32/regsvr32
rpcss/rpcss
rundll32/rundll32
start/start
taskmgr/taskmgr
uninstaller/uninstaller
view/view
wcmd/wcmd
wineboot/wineboot
winebrowser/winebrowser
winecfg/winecfg
wineconsole/wineconsole
winedbg/winedbg
winefile/winefile
winemenubuilder/winemenubuilder
winemine/winemine
winepath/winepath
winetest/winetest
winevdm/winevdm
winhelp/winhelp
winver/winver
wordpad/wordpad

View File

@ -1,2 +1 @@
/clock
/rsrc.res /rsrc.res

View File

@ -1,3 +1,2 @@
/about.ico /about.ico
/cmdlgr.res /cmdlgr.res
/cmdlgtst

View File

@ -1 +0,0 @@
/control

View File

@ -1 +0,0 @@
/eject

View File

@ -1 +0,0 @@
/expand

View File

@ -1 +0,0 @@
/explorer

View File

@ -1 +0,0 @@
/hh

View File

@ -1 +0,0 @@
/icinfo

View File

@ -1 +0,0 @@
/iexplore

View File

@ -187,3 +187,27 @@ EOF
close NEWMAKE; close NEWMAKE;
rename "Makefile.in.new", "Makefile.in"; rename "Makefile.in.new", "Makefile.in";
printf "Successfully updated Makefile.in\n"; printf "Successfully updated Makefile.in\n";
################################################################
# .gitignore file
open GITIGNORE, ">.gitignore.new" or die "cannot create .gitignore.new";
print GITIGNORE "# Automatically generated by make_dlls; DO NOT EDIT!!\n";
my @ignores =
(
"/Makeprog.rules",
"/wineapploader",
"/winelauncher",
);
foreach my $dir (sort keys %alldirs)
{
push @ignores, "$dir/$dir";
}
print GITIGNORE join("\n", sort @ignores) . "\n";
close GITIGNORE;
rename ".gitignore.new", ".gitignore";
printf "Successfully updated .gitignore\n";

View File

@ -1,3 +1,2 @@
/msiexec
/msiexec.ico /msiexec.ico
/rsrc.res /rsrc.res

View File

@ -1,2 +1 @@
/notepad
/rsrc.res /rsrc.res

View File

@ -1,3 +1,2 @@
/oleview
/rsrc.res /rsrc.res
/toolbar.bmp /toolbar.bmp

View File

@ -1,2 +1 @@
/progman
/rsrc.res /rsrc.res

View File

@ -2,7 +2,6 @@
/computer.ico /computer.ico
/folder.ico /folder.ico
/folderopen.ico /folderopen.ico
/regedit
/regedit.ico /regedit.ico
/rsrc.res /rsrc.res
/string.ico /string.ico

View File

@ -1,2 +1 @@
/regsvr32
/regsvr32.res /regsvr32.res

View File

@ -1 +0,0 @@
/rpcss

View File

@ -1 +0,0 @@
/rundll32

View File

@ -1,2 +1 @@
/rsrc.res /rsrc.res
/start

View File

@ -1,5 +1,4 @@
/font.bmp /font.bmp
/taskmgr
/taskmgr.ico /taskmgr.ico
/taskmgr.res /taskmgr.res
/trayicon.bmp /trayicon.bmp

View File

@ -1,3 +1,2 @@
/rsrc.res /rsrc.res
/uninstaller
/uninstaller.ico /uninstaller.ico

View File

@ -1,2 +1 @@
/view
/viewrc.res /viewrc.res

View File

@ -1,3 +1,2 @@
/wcmd
/wcmd.ico /wcmd.ico
/wcmdrc.res /wcmdrc.res

View File

@ -1 +0,0 @@
/wineboot

View File

@ -1 +0,0 @@
/winebrowser

View File

@ -1,4 +1,3 @@
/idb_checkbox.bmp /idb_checkbox.bmp
/idb_wine.bmp /idb_wine.bmp
/winecfg
/winecfg.res /winecfg.res

View File

@ -1,2 +1 @@
/wineconsole
/wineconsole_res.res /wineconsole_res.res

View File

@ -1,5 +1,4 @@
/dbg.tab.c /dbg.tab.c
/dbg.tab.h /dbg.tab.h
/lex.yy.c /lex.yy.c
/winedbg
/winedbg.man /winedbg.man

View File

@ -2,5 +2,4 @@
/images.bmp /images.bmp
/rsrc.res /rsrc.res
/toolbar.bmp /toolbar.bmp
/winefile
/winefile.ico /winefile.ico

View File

@ -1 +0,0 @@
/winemenubuilder

View File

@ -2,5 +2,4 @@
/leds.bmp /leds.bmp
/mines.bmp /mines.bmp
/rsrc.res /rsrc.res
/winemine
/winemine.ico /winemine.ico

View File

@ -1 +0,0 @@
/winepath

View File

@ -1,5 +1,4 @@
/dist.res /dist.res
/tests.rc /tests.rc
/wine.ico /wine.ico
/winetest
/winetest.res /winetest.res

View File

@ -1 +0,0 @@
/winevdm

View File

@ -1,3 +1,2 @@
/lex.yy.c /lex.yy.c
/rsrc.res /rsrc.res
/winhelp

View File

@ -1 +0,0 @@
/winver

View File

@ -1,3 +1,2 @@
/rsrc.res /rsrc.res
/toolbar.bmp /toolbar.bmp
/wordpad