📄 makefile.svn-base
字号:
include $(TOP)/.configifneq ($(wildcard $(SRCBASE)/cy_conf.mak),) include $(SRCBASE)/cy_conf.makendifall:install:# rm -rf $(INSTALLDIR)/www install -d $(INSTALLDIR)/www install -m 644 $(wildcard *.asp) $(wildcard *.css) $(wildcard *.jpg) $(wildcard *.gif) $(wildcard *.js) $(wildcard *.htm) $(wildcard *.ico) $(wildcard *.html) $(INSTALLDIR)/wwwifeq ($(CONFIG_DIST),"micro") rm -f $(INSTALLDIR)/www/images/favicon.ico rm -f $(INSTALLDIR)/www/images/logo.png cp common_micro.js $(INSTALLDIR)/www/common.js# cp common.compressed.js $(INSTALLDIR)/www/common.js rm -f $(INSTALLDIR)/www/common_micro.js# rm -f $(INSTALLDIR)/www/common.compressed.jsendififeq ($(CONFIG_DIST),"micro-special") rm -f $(INSTALLDIR)/www/images/favicon.ico rm -f $(INSTALLDIR)/www/images/logo.png cp common_micro.js $(INSTALLDIR)/www/common.js# cp common.compressed.js $(INSTALLDIR)/www/common.js rm -f $(INSTALLDIR)/www/common_micro.js# rm -f $(INSTALLDIR)/www/common.compressed.jsendif cp -a images $(INSTALLDIR)/www cp -a style $(INSTALLDIR)/wwwifneq ($(CONFIG_DIST),"micro")ifneq ($(CONFIG_DIST),"micro-special") cp -a help $(INSTALLDIR)/www rm -f $(INSTALLDIR)/www/common_micro.js mkdir -p $(INSTALLDIR)/www/jsendifendif cp -a lang_pack $(INSTALLDIR)/wwwifneq ($(CONFIG_LANGUAGE),y) rm -f $(INSTALLDIR)/www/lang_pack/*.js rm -f $(INSTALLDIR)/www/images/dd-wrt.gif rm -f $(INSTALLDIR)/www/images/logo.png rm -f $(INSTALLDIR)/www/images/88* cp lang_pack/english.js $(INSTALLDIR)/www/lang_pack/endif $(TOP)/tools/jsformat $(INSTALLDIR)/www/lang_pack/*.js ln -s ../tmp/www $(INSTALLDIR)/www/userifeq ($(CONFIG_WIKAR),y) cp -a wikar $(INSTALLDIR)/www/styleendififeq ($(CONFIG_SPUTNIK_APD),y) cp sputnik/*.gif $(INSTALLDIR)/www/imagesendififeq ($(CONFIG_WIFIDOG),y) cp wifidog/*.png $(INSTALLDIR)/www/imagesendififeq ($(CONFIG_3COM),y) mkdir $(INSTALLDIR)/www/style/3com cp 3com/style.css $(INSTALLDIR)/www/style/3com cp 3com/images/* $(INSTALLDIR)/www/imagesendififeq ($(CONFIG_RED),y) mkdir $(INSTALLDIR)/www/style/red cp red/style.css $(INSTALLDIR)/www/style/red cp red/style_ie.css $(INSTALLDIR)/www/style/red cp common_style/common.css $(INSTALLDIR)/www/style cp red/logo.png $(INSTALLDIR)/www/styleendififeq ($(CONFIG_FONSTYLE),y) mkdir $(INSTALLDIR)/www/style/fon cp fon/style.css $(INSTALLDIR)/www/style/fon cp fon/style_ie.css $(INSTALLDIR)/www/style/fon cp fon/commonfon.css $(INSTALLDIR)/www/style cp fon/fon.jpg $(INSTALLDIR)/www/styleendififeq ($(CONFIG_BLUE),y) mkdir $(INSTALLDIR)/www/style/blue cp blue/style.css $(INSTALLDIR)/www/style/blue cp blue/style_ie.css $(INSTALLDIR)/www/style/blue cp common_style/common.css $(INSTALLDIR)/www/style cp blue/logo.png $(INSTALLDIR)/www/styleendififeq ($(CONFIG_ELEGANT),y) mkdir $(INSTALLDIR)/www/style/elegant cp elegant/style.css $(INSTALLDIR)/www/style/elegant cp elegant/style_ie.css $(INSTALLDIR)/www/style/elegant cp common_style/common.css $(INSTALLDIR)/www/style cp elegant/logo.png $(INSTALLDIR)/www/styleendififeq ($(CONFIG_CYAN),y) mkdir $(INSTALLDIR)/www/style/cyan cp cyan/style.css $(INSTALLDIR)/www/style/cyan cp cyan/style_ie.css $(INSTALLDIR)/www/style/cyan cp common_style/common.css $(INSTALLDIR)/www/style cp cyan/logo.png $(INSTALLDIR)/www/styleendififeq ($(CONFIG_CESAR),y) mkdir $(INSTALLDIR)/www/style/cesar cp cesar/style.css $(INSTALLDIR)/www/style/cesar cp cesar/style_ie.css $(INSTALLDIR)/www/style/cesar cp cesar/common.css $(INSTALLDIR)/www/style cp cesar/logo.png $(INSTALLDIR)/www/styleendififeq ($(CONFIG_ALEDR),y) mkdir $(INSTALLDIR)/www/style/cyan cp aledr/style.css $(INSTALLDIR)/www/style/cyan cp aledr/style_ie.css $(INSTALLDIR)/www/style/cyan cp aledr/common.css $(INSTALLDIR)/www/style cp aledr/logo.jpg $(INSTALLDIR)/www/styleendififeq ($(CONFIG_YELLOW),y) mkdir $(INSTALLDIR)/www/style/yellow cp yellow/style.css $(INSTALLDIR)/www/style/yellow cp yellow/style_ie.css $(INSTALLDIR)/www/style/yellow cp common_style/common.css $(INSTALLDIR)/www/style cp yellow/logo.png $(INSTALLDIR)/www/styleendififeq ($(CONFIG_GREEN),y) mkdir $(INSTALLDIR)/www/style/green cp green/style.css $(INSTALLDIR)/www/style/green cp green/style_ie.css $(INSTALLDIR)/www/style/green cp common_style/common.css $(INSTALLDIR)/www/style cp green/logo.png $(INSTALLDIR)/www/styleendififeq ($(CONFIG_PURPLE),y) mkdir $(INSTALLDIR)/www/style/purple cp purple/style.css $(INSTALLDIR)/www/style/purple cp purple/style_ie.css $(INSTALLDIR)/www/style/purple cp common_style/common.css $(INSTALLDIR)/www/style cp purple/logo.png $(INSTALLDIR)/www/styleendififeq ($(CONFIG_ORANGE),y) mkdir $(INSTALLDIR)/www/style/orange cp orange/style.css $(INSTALLDIR)/www/style/orange cp orange/style_ie.css $(INSTALLDIR)/www/style/orange cp common_style/common.css $(INSTALLDIR)/www/style cp orange/logo.png $(INSTALLDIR)/www/styleendififeq ($(CONFIG_34TELECOM),y) $(MAKE) -C $(SRCBASE)/router/kromo/34telecom/ install mkdir $(INSTALLDIR)/www/style/cyan cp cyan/style.css $(INSTALLDIR)/www/style/cyan cp cyan/style_ie.css $(INSTALLDIR)/www/style/cyan cp 34telecom/common.css $(INSTALLDIR)/www/style# cp cyan/logo.png $(INSTALLDIR)/www/style cp -f 34telecom/logo.png $(INSTALLDIR)/www/style/elseifeq ($(CONFIG_PWC),y) cp ../windows_js/javascripts/window.js $(INSTALLDIR)/www/js cp ../windows_js/javascripts/effects.js $(INSTALLDIR)/www/js cp ../windows_js/javascripts/prototype.js $(INSTALLDIR)/www/js mkdir -p $(INSTALLDIR)/www/style/pwc mkdir -p $(INSTALLDIR)/www/style/pwc/default cp ../windows_js/themes/default/* $(INSTALLDIR)/www/style/pwc/default cp ../windows_js/themes/default.css $(INSTALLDIR)/www/style/pwc cp -r common_style/pwc $(INSTALLDIR)/www/style cp common_style/common.css $(INSTALLDIR)/www/styleendififeq ($(CONFIG_SKYTEL),y) cp -a skytel $(INSTALLDIR)/www/styleendififeq ($(CONFIG_NEWMEDIA),y) cp -f nmn/nmn_logo.png $(INSTALLDIR)/www/style/logo.pngendififeq ($(CONFIG_GGEW),y) cp -f ggew/logo.png $(INSTALLDIR)/www/style/logo.pngendififeq ($(CONFIG_MAKSAT),y) cp -f maksat/logo.png $(INSTALLDIR)/www/style/logo.png cp -f maksat/logo.png $(INSTALLDIR)/www/images/logo.png cp -f maksat/maksat_logo_help.png $(INSTALLDIR)/www/help/logo-help.png cp -f maksat/favicon.ico $(INSTALLDIR)/www/images/favicon.ico cp -f maksat/About.htm $(INSTALLDIR)/www/About.htm cp -f maksat/help/HManagement.asp $(INSTALLDIR)/www/help/HManagement.asp cp -f maksat/help/HServices.asp $(INSTALLDIR)/www/help/HServices.asp cp -f maksat/help/HUpgrade.asp $(INSTALLDIR)/www/help/HUpgrade.asp cp -f maksat/help/HStatus.asp $(INSTALLDIR)/www/help/HStatus.asp cp -f maksat/common.js $(INSTALLDIR)/www/common.jsendififeq ($(CONFIG_KODATA),y) cp -f kodata/logo.png $(INSTALLDIR)/www/style/logo.pngendififeq ($(CONFIG_THOM),y) cp -f thom/logo.png $(INSTALLDIR)/www/style/logo.pngendififneq ($(CONFIG_MADWIFI),y) cp Wireless_WDS.v23 $(INSTALLDIR)/www/Wireless_WDS.aspendififneq ($(CONFIG_MSSID),y) cp WEP.v23 $(INSTALLDIR)/www/WEP.asp cp WL_WPATable.v23 $(INSTALLDIR)/www/WL_WPATable.asp# cp WPA.v23 $(INSTALLDIR)/www/WPA.asp cp WPA_Preshared.v23 $(INSTALLDIR)/www/WPA_Preshared.asp cp WPA_Radius.v23 $(INSTALLDIR)/www/WPA_Radius.asp cp Wireless_Basic.v23 $(INSTALLDIR)/www/Wireless_Basic.asp cp Wireless_Advanced.v23 $(INSTALLDIR)/www/Wireless_Advanced.aspendififeq ($(CONFIG_SKYTRON),y) cp -a skytron $(INSTALLDIR)/www/styleendififeq ($(CONFIG_POWERNOC),y) cp -a powernoc $(INSTALLDIR)/www/styleendififeq ($(CONFIG_DLS),y) cp -a dls $(INSTALLDIR)/www/styleendififeq ($(CONFIG_FREEBIRD),y) cp -a freebird $(INSTALLDIR)/www/styleendififeq ($(CONFIG_WTS),y) cp -a wts $(INSTALLDIR)/www/styleendififeq ($(CONFIG_OMNI),y) cp -a omni $(INSTALLDIR)/www/styleendififeq ($(CONFIG_KROMO),y) cp -a kromo $(INSTALLDIR)/www/styleendififeq ($(CONFIG_BRAINSLAYER),y) cp -a brainslayer $(INSTALLDIR)/www/styleendififeq ($(CONFIG_XIRIAN),y) cp -a xirian $(INSTALLDIR)/www/styleendififneq ($(AOL_SUPPORT),1) rm -f $(INSTALLDIR)/www/aol.asp rm -f $(INSTALLDIR)/www/aol_error.aspendififneq ($(HSIAB_SUPPORT),1) rm -f $(INSTALLDIR)/www/HotSpot_* rm -f $(INSTALLDIR)/www/Config.asp rm -f $(INSTALLDIR)/www/New_device.asp rm -f $(INSTALLDIR)/www/Old_device.asp rm -f $(INSTALLDIR)/www/Register*endififneq ($(HEARTBEAT_SUPPORT),1) rm -f $(INSTALLDIR)/www/index_heartbeat.aspendififneq ($(MPPPOE_SUPPORT),1) rm -f $(INSTALLDIR)/www/index_mpppoe.asp rm -f $(INSTALLDIR)/www/Status_mpppoe.aspendififneq ($(BACKUP_RESTORE_SUPPORT),1) rm -f $(INSTALLDIR)/www/Backup_Restore.aspendififneq ($(CONFIG_UPNP),y) rm -f $(INSTALLDIR)/www/UPnP.asp rm -f $(INSTALLDIR)/www/UPnP.live.aspendififneq ($(CONFIG_NOCAT),y) rm -f $(INSTALLDIR)/www/splash.html rm -f $(INSTALLDIR)/www/status.htmlendififeq ($(CONFIG_MSSID),y) cp Status_Wireless.asp.v24 $(INSTALLDIR)/www/Status_Wireless.asp cp Status_Wireless.live.asp.v24 $(INSTALLDIR)/www/Status_Wireless.live.aspendif ifneq ($(CONFIG_WIVIZ),y) rm -f $(INSTALLDIR)/www/Wiviz_Survey.asp rm -f $(INSTALLDIR)/www/Wiviz.live.aspendififeq ($(CONFIG_NEWMEDIA),y) $(MAKE) -C $(SRCBASE)/router/kromo/newmedia/ installelseifeq ($(CONFIG_RAMON),y) $(MAKE) -C $(SRCBASE)/router/kromo/newmedia/ installelseifeq ($(CONFIG_SKYTRON),y) $(MAKE) -C $(SRCBASE)/router/kromo/skytron/ installelseifeq ($(CONFIG_SKYTEL),y) $(MAKE) -C $(SRCBASE)/router/kromo/skytel/ installelse $(MAKE) -C $(SRCBASE)/router/kromo/common/ installendifendifendifendifendififeq ($(CONFIG_OMNI),y) $(MAKE) -C $(SRCBASE)/router/kromo/omni-wifi/ installendififeq ($(CONFIG_DDLAN),y) $(MAKE) -C $(SRCBASE)/router/kromo/ddlan/ installendif#ifeq ($(CONFIG_SER),y)# $(MAKE) -C $(SRCBASE)/router/kromo/sipath/ install#endif ../../../../tools/strip $(INSTALLDIR)/www/*.asp ../../../../tools/strip $(INSTALLDIR)/www/*.htm ../../../../tools/strip $(INSTALLDIR)/www/help/*.asp ifeq ($(CONFIG_SER),y) $(MAKE) -C $(SRCBASE)/router/kromo/sipath/ install endif ../../../../tools/write4 $(INSTALLDIR)/www/*.asp ../../../../tools/write4 $(INSTALLDIR)/www/*.htm ../../../../tools/write4 $(INSTALLDIR)/www/help/*.asp cd $(INSTALLDIR)/www && find . -iname "CVS" | xargs rm -rf cd $(INSTALLDIR)/www && find . -iname ".svn" | xargs rm -rf cd $(INSTALLDIR)/www && $(SRCBASE)/../tools/webcomp . $(SRCBASE)/../tools/filelist *.asp *.htm *.css *.js help/*.asp help/*.png help/*.css images/*.gif images/*.png images/*.jpg images/*.ico style/* style/*/* style/*/*/* style/*/*/*/* style/*/*/*/*/* > $(SRCBASE)/router/httpd/html.c ifeq ($(CONFIG_PWC),y) rm -rf $(INSTALLDIR)/www/style/pwc/ddwrt rm -rf $(INSTALLDIR)/www/style/pwc/defaultendif cd $(INSTALLDIR)/www && rm -f *.asp *.htm *.css *.js help/*.asp help/*.png help/*.css images/*.gif images/*.png images/*.jpg images/*.ico style/*.css style/*.png style/*/*# cd $(INSTALLDIR)/www && find . -name "*lzma" | xargs rm -f#../../../../tools/webcomp . filelist $(INSTALLDIR)/www/*.asp $(INSTALLDIR)/www/*.htm > webrom.c @truewebcomp:clean:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -