update build commands
This commit is contained in:
parent
1f433de159
commit
6681d2eefb
1 changed files with 2 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -8,12 +8,11 @@ SCRIPTS = $(patsubst %.ts,%.js,$(wildcard script/*.ts))
|
|||
MISC = $(shell find .well-known -type f)
|
||||
ALL = $(CSS) $(PAGES) $(MEDIA) $(SCRIPTS) $(MISC)
|
||||
|
||||
BUILDDIR ?= _build
|
||||
BUILDDIR ?= /srv/www/yummy
|
||||
TMPDIR ?= _tmp
|
||||
|
||||
HOST ?= yummy.cricket
|
||||
REMOTE_USER ?= www-data
|
||||
IDFILE ?= ~/.ssh/xyz
|
||||
REMOTE_DIR ?= yummy
|
||||
|
||||
all: build
|
||||
|
@ -24,7 +23,7 @@ upload: build
|
|||
@rsync --recursive --partial --progress --copy-links \
|
||||
--compress --human-readable --hard-links --size-only \
|
||||
--delete --delete-after \
|
||||
--rsh='ssh -l $(REMOTE_USER) -i $(IDFILE)' \
|
||||
--rsh='ssh -l $(REMOTE_USER)' \
|
||||
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/
|
||||
|
||||
$(BUILDDIR)/%: %
|
||||
|
|
Loading…
Add table
Reference in a new issue