summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r--scripts/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 812f160a..8c6e56d2 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -12,9 +12,9 @@ unknown:
-echo Unknown distribution
redhat:
- $(mkinstalldirs) $(DESTDIR)/etc/rc.d/init.d
- $(INSTALL) -m 755 $(srcdir)/bluetooth.rc.rh $(DESTDIR)/etc/rc.d/init.d/bluetooth
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/rc.d/init.d
+ $(INSTALL) -m 755 $(srcdir)/bluetooth.rc.rh $(DESTDIR)$(sysconfdir)/rc.d/init.d/bluetooth
debian:
- $(mkinstalldirs) $(DESTDIR)/etc/init.d
- $(INSTALL) -m 755 $(srcdir)/bluetooth.rc.deb $(DESTDIR)/etc/init.d/bluetooth
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/init.d
+ $(INSTALL) -m 755 $(srcdir)/bluetooth.rc.deb $(DESTDIR)$(sysconfdir)/init.d/bluetooth