Fix to make a "signed" dir as we do with the java plugin

(only way signpages.pl will work with this code, Signtool doesn't work for various reasons)
This commit is contained in:
timm 1998-04-21 06:58:06 +00:00
parent 29883ecae8
commit a020a3066b

View File

@ -18,16 +18,24 @@ DIRS=metadata
JAVA_DESTPATH=$(MOZ_SRC)\ns\dist\classes
PACKAGE=netscape\asw
SIGNDIR=signed
!include <$(DEPTH)\config\rules.mak>
export:: $(JAVA_DESTPATH)\$(PACKAGE)
copy *.htm $(JAVA_DESTPATH)\$(PACKAGE)
copy *.js $(JAVA_DESTPATH)\$(PACKAGE)
-mkdir $(SIGNDIR)\$(PACKAGE)
echo copying html
copy *.htm $(SIGNDIR)
echo copying js
copy *.js $(SIGNDIR)
echo copy class files
copy $(JAVA_DESTPATH)\$(PACKAGE)\*.class $(SIGNDIR)\$(PACKAGE)
install:: $(JAVA_DESTPATH)\$(PACKAGE)
-rm -rf $(JAVA_DESTPATH)\$(PACKAGE)\asw.arc
cd $(JAVA_DESTPATH)\$(PACKAGE)
-rm compare.htm
-rm -rf $(SIGNDIR)\asw.arc
cd $(SIGNDIR)
# signtool \
$(PERL) $(MOZ_SRC)\ns\security\cmd\jar\signPages.pl \
!ifdef MOZ_CERT_DIR
-d $(MOZ_CERT_DIR) \
@ -38,8 +46,10 @@ install:: $(JAVA_DESTPATH)\$(PACKAGE)
!ifdef MOZ_CERT_PWD
-p $(MOZ_CERT_PWD) \
!endif
# -J .
*.htm
$(ZIP) asw.jar *
clobber::
-rm -rf $(JAVA_DESTPATH)\$(PACKAGE)
-rm -rf $(SIGNDIR)