From 83e3538610b747c0f0a3a68035ca3e4fb11457b1 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 21 Nov 2011 17:53:20 +0000 Subject: add Makefile --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile 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) + -- cgit v1.2.1