Changeset 79f0a39 in report


Ignore:
Timestamp:
Jul 6, 2010 11:44:35 AM (8 years ago)
Author:
Simon Marlow <marlowsd@…>
Branches:
h2010, master
Children:
c773157
Parents:
1a81f04
Message:

upload things to the right place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r1a81f04 r79f0a39  
    1212        cd tools && make
    1313        cd report && make
    14         mkdir haskell$(VERSION)
     14        mkdir haskell$(VERSION) || true
    1515        cp report/ht/*.html report/ht/*.png report/ht/*.css haskell$(VERSION)
    1616        tar cvzf haskell$(VERSION)-html.tar.gz haskell$(VERSION)
     
    1919# the finished report to the correct places.
    2020UPLOAD_HOST = www.haskell.org
    21 UPLOAD_DIR = /home/haskell/onlinereport/haskell$(VERSION)
     21UPLOAD_HTML_DIR = /home/haskell/onlinereport/haskell$(VERSION)
     22UPLOAD_DEFN_DIR = /home/haskell/definition
    2223
    2324upload:
    24         ssh $(UPLOAD_HOST) "mkdir $(UPLOAD_DIR) || true"
    25         scp report/haskell.pdf $(UPLOAD_HOST):$(UPLOAD_DIR)
    26         scp haskell$(VERSION)-html.tar.gz $(UPLOAD_HOST):$(UPLOAD_DIR)
    27         ssh $(UPLOAD_HOST) "cd $(UPLOAD_DIR); tar xvzf haskell$(VERSION)-html.tar.gz; mv haskell$(VERSION)/* .; rmdir haskell$(VERSION); rm -f index.html; ln -s haskell.html index.html"
     25        ssh $(UPLOAD_HOST) "mkdir $(UPLOAD_HTML_DIR) || true"
     26        ssh $(UPLOAD_HOST) "mkdir $(UPLOAD_DEFN_DIR) || true"
     27        scp report/haskell.pdf $(UPLOAD_HOST):$(UPLOAD_DEFN_DIR)/haskell$(VERSION).pdf
     28        scp haskell$(VERSION)-html.tar.gz $(UPLOAD_HOST):$(UPLOAD_DEFN_DIR)
     29        ssh $(UPLOAD_HOST) "cd $(UPLOAD_HTML_DIR); tar xvzf $(UPLOAD_DEFN_DIR)/haskell$(VERSION)-html.tar.gz; mv haskell$(VERSION)/* .; rmdir haskell$(VERSION); rm -f index.html; ln -s haskell.html index.html"
Note: See TracChangeset for help on using the changeset viewer.