Adding the skindemo file to the make system.

This commit is contained in:
hyatt%netscape.com 1999-04-10 08:12:49 +00:00
Родитель d9c0c0d5bf
Коммит 4bf1eb3587
3 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -43,7 +43,8 @@ EXPORT_RESOURCE_SAMPLES = \
$(srcdir)/navigator-goofy.css \ $(srcdir)/navigator-goofy.css \
$(srcdir)/navigator-test1.xul \ $(srcdir)/navigator-test1.xul \
$(srcdir)/raindrops_light.gif \ $(srcdir)/raindrops_light.gif \
$(NULL) $(srcdir)/skindemo.xul \
$(NULL)
install:: install::
$(INSTALL) $(EXPORT_RESOURCE_SAMPLES) $(DIST)/bin/res/samples $(INSTALL) $(EXPORT_RESOURCE_SAMPLES) $(DIST)/bin/res/samples

Просмотреть файл

@ -81,6 +81,7 @@ install:: $(DLL)
$(MAKE_INSTALL) navigator-goofy.css $(DIST)\bin\res\samples $(MAKE_INSTALL) navigator-goofy.css $(DIST)\bin\res\samples
$(MAKE_INSTALL) navigator-shiny.css $(DIST)\bin\res\samples $(MAKE_INSTALL) navigator-shiny.css $(DIST)\bin\res\samples
$(MAKE_INSTALL) raindrops_light.gif $(DIST)\bin\res\samples $(MAKE_INSTALL) raindrops_light.gif $(DIST)\bin\res\samples
$(MAKE_INSTALL) skindemo.xul $(DIST)\bin\res\samples
clobber:: clobber::
rm -f $(DIST)\bin\$(DLLNAME).dll rm -f $(DIST)\bin\$(DLLNAME).dll

Просмотреть файл

@ -31,9 +31,10 @@ function applySkin(url)
dump("Doing the assert.\n"); dump("Doing the assert.\n");
ds.Assert(s, p, newTarget, true); ds.Assert(s, p, newTarget, true);
dump("Saving the chrome to disk.\n");
ds.Flush(); ds.Flush();
dump("Loading the new chrome.\n");
window.top.location.href = "chrome://navigator/content/"; dump("Done. Open a new window to see the chrome.\n");
} }
</html:script> </html:script>