]> arthur.barton.de Git - ax-linux.git/blob - btrfs/mksnapshot/Makefile
Make USER configurable on make command line
[ax-linux.git] / btrfs / mksnapshot / Makefile
1 #
2 # ax-linux: Alex' Linux Tools & Scripts
3 # Copyright (c)2013 Alexander Barton (alex@barton.de)
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10
11 all: btrfs-mksnapshot
12
13 install-local: btrfs-mksnapshot
14         install -d -o $(USER) -g $(GROUP) -m 755 \
15          $(DESTDIR)$(PREFIX)/sbin
16         install -p -o $(USER) -g $(GROUP) -m 755 btrfs-mksnapshot \
17          $(DESTDIR)$(PREFIX)/sbin/btrfs-mksnapshot
18         install -d -o $(USER) -g $(GROUP) -m 755 \
19          $(DESTDIR)/etc/apt/apt.conf.d
20         install -p -o $(USER) -g $(GROUP) -m 644 06btrfs-mksnapshot \
21          $(DESTDIR)/etc/apt/apt.conf.d/06btrfs-mksnapshot
22
23 include ../../Makefile.ax