aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-11-21 17:53:20 +0000
committerNicolas Vigier <boklm@mageia.org>2011-11-21 17:53:20 +0000
commit83e3538610b747c0f0a3a68035ca3e4fb11457b1 (patch)
tree32c687c70a20cd26843fb9763e96b16cbbaa0195
parentdddbb516aa2fd19e8646b36ae00f1b989e3ef6f9 (diff)
downloadrepoctl-83e3538610b747c0f0a3a68035ca3e4fb11457b1.tar
repoctl-83e3538610b747c0f0a3a68035ca3e4fb11457b1.tar.gz
repoctl-83e3538610b747c0f0a3a68035ca3e4fb11457b1.tar.bz2
repoctl-83e3538610b747c0f0a3a68035ca3e4fb11457b1.tar.xz
repoctl-83e3538610b747c0f0a3a68035ca3e4fb11457b1.zip
add Makefile
-rw-r--r--Makefile15
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)
+