mirror of
https://git.envs.net/envs/pleroma-custom.git
synced 2024-11-10 11:39:27 +01:00
Delete 'Makefile'
This commit is contained in:
parent
9d4859347f
commit
521f3ec33b
1 changed files with 0 additions and 19 deletions
19
Makefile
19
Makefile
|
@ -1,19 +0,0 @@
|
||||||
DEST_DIR ?= /var/lib/pleroma/static
|
|
||||||
DEST_OWNER ?= pleroma
|
|
||||||
DEST_GROUP ?= pleroma
|
|
||||||
|
|
||||||
STATIC_FILES != find . -path "./static/*" -type f
|
|
||||||
DEST_FILES := $(subst ./static/,$(DEST_DIR),$(BANFILES))
|
|
||||||
|
|
||||||
install:
|
|
||||||
$(info updating from git remote)
|
|
||||||
@git fetch
|
|
||||||
@git reset --hard origin/master
|
|
||||||
$(info installing new banfiles)
|
|
||||||
@install -o $(DEST_OWNER) -g $(DEST_GROUP) -m 644 $(STATIC_FILES) $(DEST_DIR)
|
|
||||||
|
|
||||||
uninstall:
|
|
||||||
$(info uninstall banfiles)
|
|
||||||
@rm -v $(DEST_FILES)
|
|
||||||
|
|
||||||
.PHONY: install uninstall
|
|
Loading…
Reference in a new issue