all_msvc71: kit_msvc71

kit_msvc71: pysvn-branded.iss info_before.txt copy_setup.cmd
	copy ..\..\LICENSE.txt tmp\LICENSE.txt
	copy $(SUBVERSION)\svn-win32-libintl\bin\intl3_svn.dll tmp
	copy $(SUBVERSION)\db4-win\bin\libdb43.dll tmp
	copy $(OPENSSL)\out32dll\libeay32.dll tmp
	copy $(OPENSSL)\out32dll\ssleay32.dll tmp
	copy $(APR)\apr\release\libapr.dll tmp
	copy $(APR)\apr-util\release\libaprutil.dll tmp
	copy $(APR)\apr-iconv\release\libapriconv.dll tmp
	copy tmp\msvc71_system_files.iss tmp\msvc_system_files.iss
	"c:\Program Files\Inno Setup 5\ISCC.exe" tmp\pysvn-branded.iss
	tmp\setup_copy.cmd

info_before.txt: pysvn-branded.iss

copy_setup.cmd: pysvn-branded.iss

pysvn-branded.iss: setup_version_handling.py pysvn.iss
	if not exist tmp mkdir tmp
	python setup_version_handling.py

debug:
	"c:\Program Files\Inno Setup 5\Compil32.exe" pysvn.iss

clean:
	if exist tmp rmdir /s /q tmp
