Sync gemini makefile
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
db440a53d6
commit
7492b6d892
|
@ -21,7 +21,7 @@ WGET=wget
|
|||
# rsync
|
||||
RSYNC=rsync
|
||||
# -l, --links copy symlinks as symlinks
|
||||
RSYNC_FLAGS=--links --verbose --recursive --delete --delete-after --delete-excluded --checksum --chmod=ugo=rX
|
||||
RSYNC_FLAGS=--links --verbose --recursive --delete --delete-after --delete-excluded --checksum --chmod=ugo=rX,u+w
|
||||
|
||||
# Verzeichnis, in das exportiert werden soll
|
||||
DESTDIR?=www-export
|
||||
|
@ -86,10 +86,12 @@ endef
|
|||
|
||||
.PHONY: www
|
||||
www: $(XML_CATALOG) $(CONTENT)
|
||||
mkdir -p $@
|
||||
$(RSYNC) $(RSYNC_FLAGS) --exclude=".stamp-*" content/static/ content/old-site/ build/ $@
|
||||
|
||||
.PHONY: export
|
||||
export: www
|
||||
mkdir -p $(DESTDIR)
|
||||
$(RSYNC) $(RSYNC_FLAGS) --exclude=".git/" www/ $(DESTDIR)/
|
||||
|
||||
$(DATESTAMP):
|
||||
|
|
Loading…
Reference in New Issue