diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-11-21 17:53:20 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-11-21 17:53:20 +0000 |
commit | 83e3538610b747c0f0a3a68035ca3e4fb11457b1 (patch) | |
tree | 32c687c70a20cd26843fb9763e96b16cbbaa0195 /Makefile | |
parent | dddbb516aa2fd19e8646b36ae00f1b989e3ef6f9 (diff) | |
download | repoctl-83e3538610b747c0f0a3a68035ca3e4fb11457b1.tar repoctl-83e3538610b747c0f0a3a68035ca3e4fb11457b1.tar.gz repoctl-83e3538610b747c0f0a3a68035ca3e4fb11457b1.tar.bz2 repoctl-83e3538610b747c0f0a3a68035ca3e4fb11457b1.tar.xz repoctl-83e3538610b747c0f0a3a68035ca3e4fb11457b1.zip |
add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e5795a1 --- /dev/null +++ b/Makefile @@ -0,0 +1,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) + |