# HG changeset patch # User Oleksandr Gavenko # Date 1455974424 -7200 # Node ID 6e28048f3e744ffad3446472f8d4b8a6e50a0919 # Parent e1866d4fdbad478a3f0e78b0b840c4ebee13b2aa Remove frame based publishing, stick to iframe. Clean CHM code generation. diff -r e1866d4fdbad -r 6e28048f3e74 Makefile --- a/Makefile Sat Feb 20 02:42:01 2016 +0200 +++ b/Makefile Sat Feb 20 15:20:24 2016 +0200 @@ -46,7 +46,7 @@ HTML_DIR := tips-html RST_HTML_FILES := $(patsubst %.rst,$(HTML_DIR)/%.html,$(RST_FILES)) HTML_FILES := $(RST_HTML_FILES) \ - $(HTML_DIR)/index.html $(HTML_DIR)/iframe.html $(HTML_DIR)/frame.html $(HTML_DIR)/frame-index.html + $(HTML_DIR)/index.html $(HTML_DIR)/iframe.html TXT__FILES := $(addprefix $(HTML_DIR)/,$(TXT_FILES)) CHM_FILES := $(addprefix $(HTML_DIR)/,chm.hhp chm.hhc chm.stp) @@ -68,7 +68,7 @@ .PHONY: deploy deploy: deploy2defun-web deploy2defun-hg deploy2sf-web deploy2sf-hg -# Will be accessible via: http://tips.defun.work/frame.html +# Will be accessible via: http://tips.defun.work/ .PHONY: deploy2defun-web deploy2defun-web: html rsync --delete -avP -e ssh tips-html/ $(WWW_SRV_USER)@$(WWW_SRV_NAME):/srv/www/tips/ @@ -77,7 +77,7 @@ deploy2defun-hg: hg push ssh://$(HG_SRV_USER)@$(HG_SRV_NAME)//srv/hg/tips || [ $$? = 1 ] -# Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/frame.html +# Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/ .PHONY: deploy2sf-web deploy2sf-web: html rsync --delete -avP -e ssh tips-html/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/ @@ -106,7 +106,7 @@ echo ''; \ echo ''; \ @@ -132,9 +132,6 @@ echo ' Written by Oleksandr Gavenko (AKA gavenkoa), compiled at ``'`date +%F`'`` from rev ``'`hg id -i`'``.'; \ } >$@ -$(HTML_DIR)/frame-index.html: index.sh $(RST_HTML_FILES) $(MAKEFILE_LIST) | $(HTML_DIR) - ./index.sh frame >$@ - $(HTML_DIR)/index.html: $(HTML_DIR)/README.html $(MAKEFILE_LIST) | $(HTML_DIR) cp $< $@ @@ -145,7 +142,7 @@ cp $< $@ .PHONY: chm -chm: html $(CHM_FILES) $(HTML_DIR)/index-chm.html +chm: html $(CHM_FILES) $(HTML_DIR)/iframe.html cd $(HTML_DIR); for file in *.html; do sed -i '/<\?xml.*\?>/d' $$file; done $(HTML_DIR)/%.stp: %.stp $(MAKEFILE_LIST) | $(HTML_DIR) @@ -157,9 +154,6 @@ $(HTML_DIR)/chm.hhc: chm-hhc.sh $(MAKEFILE_LIST) | $(HTML_DIR) ./chm-hhc.sh >$@ -$(HTML_DIR)/index-chm.html: index.sh $(MAKEFILE_LIST) | $(HTML_DIR) - ./index.sh html >$@ - ################################################################ # Init targets.