make_progs: Generate the .gitignore file.

Ignore generated programs from the top-level .gitignore.
oldstable
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
/wineapploader
/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

View File

@ -1,3 +1,2 @@
/about.ico
/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;
rename "Makefile.in.new", "Makefile.in";
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
/rsrc.res

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1 +0,0 @@
/rpcss

View File

@ -1 +0,0 @@
/rundll32

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1 +0,0 @@
/wineboot

View File

@ -1 +0,0 @@
/winebrowser

View File

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

View File

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

View File

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

View File

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

View File

@ -1 +0,0 @@
/winemenubuilder

View File

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

View File

@ -1 +0,0 @@
/winepath

View File

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

View File

@ -1 +0,0 @@
/winevdm

View File

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

View File

@ -1 +0,0 @@
/winver

View File

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