Skip to content

Commit

Permalink
Make remote directory configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
andralex committed Nov 1, 2014
1 parent 1c86a2a commit 45518b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions posix.mak
Expand Up @@ -20,6 +20,7 @@ GIT_HOME=https://github.com/D-Programming-Language
DPL_DOCS_PATH=../tools/dpl-docs
DPL_DOCS=$(DPL_DOCS_PATH)/dpl-docs
DPL_DOCS_FLAGS=--std-macros=std-ddox.ddoc --override-macros=std-ddox-override.ddoc --
REMOTE_DIR=d-programming@digitalmars.com:data

# rdmd must fetch the model, imports, and libs from the specified version
DFLAGS=-m$(MODEL) -I$(DRUNTIME_DIR)/import -I$(PHOBOS_DIR) -L-L$(PHOBOS_DIR)/generated/$(OS)/release/$(MODEL)
Expand Down Expand Up @@ -180,10 +181,10 @@ clean:
@echo You should issue manually: rm -rf ${DMD_DIR}-${LATEST} ${DRUNTIME_DIR}-${LATEST} ${PHOBOS_DIR}-${LATEST}

rsync : docs html kindle pdf
rsync -avz $(DOC_OUTPUT_DIR)/ d-programming@digitalmars.com:data/
rsync -avz $(DOC_OUTPUT_DIR)/ $(REMOTE_DIR)/

rsync-only :
rsync -avz $(DOC_OUTPUT_DIR)/ d-programming@digitalmars.com:data/
rsync -avz $(DOC_OUTPUT_DIR)/ $(REMOTE_DIR)/

################################################################################
# Ebook
Expand Down

0 comments on commit 45518b6

Please sign in to comment.