Commit 028ab92b authored by Alexandre Julliard's avatar Alexandre Julliard

make_progs: Generate the .gitignore file.

Ignore generated programs from the top-level .gitignore.
parent 5258e061
# 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
......@@ -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";
......@@ -2,7 +2,6 @@
/computer.ico
/folder.ico
/folderopen.ico
/regedit
/regedit.ico
/rsrc.res
/string.ico
/font.bmp
/taskmgr
/taskmgr.ico
/taskmgr.res
/trayicon.bmp
......
/rsrc.res
/uninstaller
/uninstaller.ico
/idb_checkbox.bmp
/idb_wine.bmp
/winecfg
/winecfg.res
/dbg.tab.c
/dbg.tab.h
/lex.yy.c
/winedbg
/winedbg.man
......@@ -2,5 +2,4 @@
/images.bmp
/rsrc.res
/toolbar.bmp
/winefile
/winefile.ico
......@@ -2,5 +2,4 @@
/leds.bmp
/mines.bmp
/rsrc.res
/winemine
/winemine.ico
/dist.res
/tests.rc
/wine.ico
/winetest
/winetest.res
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment