X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=Makefile;h=1f09876b085d0242ba714f13fee847ed16f1720d;hb=8ec1b627babaaf626e983549b03ffd336cc471c2;hp=f7b3aa402dfcde322e50ecc91e9ee63fb9614b92;hpb=ab738c0c6a3581ada15ed5510dc46495f79aa1cd;p=backup-script.git diff --git a/Makefile b/Makefile index f7b3aa4..1f09876 100644 --- a/Makefile +++ b/Makefile @@ -3,20 +3,10 @@ # Copyright (c)2008-2014 Alexander Barton, alex@barton.de # -include ./Makefile.ax +SUBDIRS = bin etc examples + +include ./lib/Makefile.ax install-local: - install -d -o $(USER) -g $(GROUP) -m 755 \ - $(DESTDIR)$(PREFIX)/sbin - install -o $(USER) -g $(GROUP) -m 755 bin/backup-script \ - $(DESTDIR)$(PREFIX)/sbin/backup-script - install -o $(USER) -g $(GROUP) -m 755 bin/backup-script-wrapper \ - $(DESTDIR)$(PREFIX)/sbin/backup-script-wrapper - install -o $(USER) -g $(GROUP) -m 755 bin/backup-status \ - $(DESTDIR)$(PREFIX)/sbin/backup-status install -d -o $(USER) -g $(GROUP) -m 755 \ $(DESTDIR)$(PREFIX)/etc/backup-script.d - install -d -o $(USER) -g $(GROUP) -m 755 $(DESTDIR)/etc - test -e $(DESTDIR)/etc/backup-script.d \ - || ln -s $(DESTDIR)$(PREFIX)/etc/backup-script.d \ - $(DESTDIR)/etc/backup-script.d