summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/updater/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/updater/Makefile b/bin/updater/Makefile
index f3cf14a2c..486812877 100644
--- a/bin/updater/Makefile
+++ b/bin/updater/Makefile
@@ -1,17 +1,21 @@
all: install
+
install: install-systemd
+
clean:
rm -rf dist
rm -rf MANIFEST
rm -rf build
rm -rf owncloud_news_updater.egg-info
+
update: clean
pip3 uninstall owncloud_news_updater
python3 setup.py install
+
preinitsetup: clean
mkdir -p /etc/owncloud/news
cp $(CURDIR)/example-config.ini /etc/owncloud/news/updater.ini