a5d74a858871a5c08145f0583f5e47fb58331087
[openafs.git] / src / WINNT / install / InstallShield5 / NTMakefile
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 !INCLUDE ..\..\..\config\NTMakefile.$(SYS_NAME)
9 !INCLUDE ..\..\..\config\NTMakefile.version
10
11 ############################################################################
12
13 CELLSERVDB = $(DESTDIR)\root.client\usr\vice\etc\afsdcell.ini
14
15 $(CELLSERVDB): afsdcell.ini
16     copy $** $@
17
18 prep: $(CELLSERVDB) AFS_component_version_number.txt
19     CreateISDirTree.bat
20     ScatterFiles.bat
21     CreateGeneratedFiles.bat
22     CompileScript.bat
23
24 build:
25     BuildSetup.bat
26     xcopy/s/e/y "Media\Transarc AFS\Disk Images\disk1\*.*" $(DESTDIR)\WinInstall
27     copy AFS_component_version_number.txt $(DESTDIR)\WinInstall\Version.txt
28 !IF ((EXIST("$(ISWEB)")) &&("$(ISWEB)"!=""))
29 !       IF (!EXIST($(DESTDIR)\Wininstall\PackageWeb))
30                 $(MKDIR) $(DESTDIR)\Wininstall\PackageWeb
31 !       ENDIF
32         $(DEL) /q $(DESTDIR)\Wininstall\PackageWeb\*.*
33         $(ISWEB)\Pftwwiz.exe $(AFSROOT)\src\winnt\install\InstallShield5\PackageWeb.pfw -s -a 
34 !ENDIF
35     $(DEL) /q "Media\Transarc AFS\Disk Images\disk1\*.*"
36
37 install: prep build