aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4b9b7c9..dd9faa4 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ libdir = $(prefix)/lib
pkgdatadir = $(datadir)/sitesummary
pkgdir = $(libdir)/sitesummary
collectordir = $(libdir)/sitesummary/collect.d
-perldir = $(libdir)/perl5
+perldir = $(datadir)/perl5
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644
@@ -35,7 +35,7 @@ install-client:
$(INSTALL) -d $(DESTDIR)$(sbindir)
$(INSTALL) sitesummary-client sitesummary-upload $(DESTDIR)$(sbindir)
$(INSTALL) -d $(DESTDIR)$(pkgdatadir)/config
- $(INSTALL) sitesummary-client.conf $(DESTDIR)$(pkgdatadir)/config
+ $(INSTALL_DATA) sitesummary-client.conf $(DESTDIR)$(pkgdatadir)/config
$(INSTALL) -d $(DESTDIR)$(collectordir)
for collector in $(COLLECTORS) ; do \