Admin/page/Makefile
changeset 15886 c5d873a86e0f
parent 15810 2c119fed01f0
child 15933 7f3ccb84e60d
equal deleted inserted replaced
15885:7274ba411f1d 15886:c5d873a86e0f
    48 	@$(MKCONTENT) -p dist/`cat DISTNAME`/doc/ $(DOC_CONTENT_FILE) $(DOC_CONTENTS_MAIN)
    48 	@$(MKCONTENT) -p dist/`cat DISTNAME`/doc/ $(DOC_CONTENT_FILE) $(DOC_CONTENTS_MAIN)
    49 	@env DISTNAME=`cat DISTNAME` \
    49 	@env DISTNAME=`cat DISTNAME` \
    50 	  $(GENPAGE) -t $(MAIN_LAYOUT)/$(TEMPLATE_NAME) -c $(MAIN_CONTENT) -o $(MAIN_TARGET)
    50 	  $(GENPAGE) -t $(MAIN_LAYOUT)/$(TEMPLATE_NAME) -c $(MAIN_CONTENT) -o $(MAIN_TARGET)
    51 
    51 
    52 pub-main: main
    52 pub-main: main
    53 	@echo "Publishing main pages."
    53 	@echo "Publishing main pages (*.html only)."
    54 	scp main/* $(MAIN_PUB_MIRROR_SRC)
    54 	scp main/*.html $(MAIN_PUB_MIRROR_SRC)
    55 	scp main/* $(MAIN_PUB_DEST)
    55 	scp main/*.html $(MAIN_PUB_DEST)
    56 
    56 
    57 dist:
    57 dist:
    58 	@$(MKCONTENT) -p `cat DISTNAME`/doc/ $(DOC_CONTENT_FILE) $(DOC_CONTENTS_DIST)
    58 	@$(MKCONTENT) -p `cat DISTNAME`/doc/ $(DOC_CONTENT_FILE) $(DOC_CONTENTS_DIST)
    59 	@env DISTNAME=`cat DISTNAME` \
    59 	@env DISTNAME=`cat DISTNAME` \
    60 	  $(GENPAGE) -t $(DIST_LAYOUT)/$(TEMPLATE_NAME) -c $(DIST_CONTENT) -o $(DIST_TARGET)
    60 	  $(GENPAGE) -t $(DIST_LAYOUT)/$(TEMPLATE_NAME) -c $(DIST_CONTENT) -o $(DIST_TARGET)
    61 
    61 
    62 pub-dist: dist
    62 pub-dist: dist
    63 	@echo "Publishing dist pages."
    63 	@echo "Publishing dist pages (*.html only)."
    64 	scp dist/*.html $(DIST_PUB_DEST)
    64 	scp dist/*.html $(DIST_PUB_DEST)
    65 
    65 
    66 install: main dist
    66 install: main dist
    67 	@cp -R dist/. ..
    67 	@cp -R dist/. ..
    68 	@mkdir -p ../../main-`cat DISTNAME`/.
    68 	@mkdir -p ../../main-`cat DISTNAME`/.