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=rsync
|
RSYNC=rsync
|
||||||
# -l, --links copy symlinks as symlinks
|
# -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
|
# Verzeichnis, in das exportiert werden soll
|
||||||
DESTDIR?=www-export
|
DESTDIR?=www-export
|
||||||
|
@ -86,10 +86,12 @@ endef
|
||||||
|
|
||||||
.PHONY: www
|
.PHONY: www
|
||||||
www: $(XML_CATALOG) $(CONTENT)
|
www: $(XML_CATALOG) $(CONTENT)
|
||||||
|
mkdir -p $@
|
||||||
$(RSYNC) $(RSYNC_FLAGS) --exclude=".stamp-*" content/static/ content/old-site/ build/ $@
|
$(RSYNC) $(RSYNC_FLAGS) --exclude=".stamp-*" content/static/ content/old-site/ build/ $@
|
||||||
|
|
||||||
.PHONY: export
|
.PHONY: export
|
||||||
export: www
|
export: www
|
||||||
|
mkdir -p $(DESTDIR)
|
||||||
$(RSYNC) $(RSYNC_FLAGS) --exclude=".git/" www/ $(DESTDIR)/
|
$(RSYNC) $(RSYNC_FLAGS) --exclude=".git/" www/ $(DESTDIR)/
|
||||||
|
|
||||||
$(DATESTAMP):
|
$(DATESTAMP):
|
||||||
|
|
Loading…
Reference in New Issue