summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pcmcia/Makefile.am2
-rw-r--r--scripts/Makefile.am8
2 files changed, 5 insertions, 5 deletions
diff --git a/pcmcia/Makefile.am b/pcmcia/Makefile.am
index 485bb06b..e3336541 100644
--- a/pcmcia/Makefile.am
+++ b/pcmcia/Makefile.am
@@ -2,7 +2,7 @@
# $Id$
#
-pcmciadir = /etc/pcmcia
+pcmciadir = $(sysconfdir)/pcmcia
EXTRA_DIST = bluetooth bluetooth.conf
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