allow wildcards in source file definitions

git-svn-id: http://svn.code.sf.net/p/netboot65/code@56 93682198-c243-4bdb-bd91-e943c89aac3b
This commit is contained in:
jonnosan 2009-03-26 03:46:30 +00:00
parent 4c9aa12099
commit b150b77ee3

9
dist/make_dist.rb vendored
View File

@ -15,15 +15,18 @@ end
[
["client/clients/utherboot.dsk","client/"],
["client/clients/rrnetboot.bin","client/"],
["server/lib/tftp_server.rb","lib"],
["server/bin/tftp_only_server.rb","bin/tftp_server.rb"],
["server/bin/import_ags_games.rb","bin"],
["server/boot/BOOTA2.PG2","boot"],
["doc/README.txt",""],
["doc/README.*.txt",""],
].each do |args|
src="#{SRC_DIR}/#{args[0]}"
dest="#{WORKING_DIR}/#{args[1]}"
File.copy(src,dest)
Dir["#{SRC_DIR}/#{args[0]}"].each do |src|
File.copy(src,dest)
puts "#{src}->#{dest}"
end
end