]> arthur.barton.de Git - backup-script.git/blobdiff - Makefile
Create individual Makefile's for all subdirectories
[backup-script.git] / Makefile
index 1cbc70e704f8fc583da70c4051c34eee8477b1fe..b807cab2aa22d343b0b19bb0e0e911c0a51af793 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,16 +3,10 @@
 # Copyright (c)2008-2014 Alexander Barton, alex@barton.de
 #
 
+SUBDIRS = bin etc examples
+
 include ./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