aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e5795a1092e895bf30347ad5a23eccbbee9401e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
BINFILES=repoctl
CFGFILES=repoctl.conf
DATAFILES=functions

sysconfdir=/etc
bindir=/usr/bin
sharedir=/usr/share
repoctldatadir=$(sharedir)/repoctl

install:
	install -d $(DESTDIR)$(bindir) $(DESTDIR)$(repoctldatadir) $(DESTDIR)$(sysconfdir)
	install -m 755 $(BINFILES) $(DESTDIR)$(bindir)
	install -m 644 $(CFGFILES) $(DESTDIR)$(sysconfdir)
	install -m 644 $(DATAFILES) $(DESTDIR)$(repoctldatadir)