summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjblum2009-06-13 22:35:37 +0000
committerjblum2009-06-13 22:35:37 +0000
commit37082c204f7b0611f2502a835e055319d0f750d1 (patch)
treee7a7b47ea3b11bbba3062a04076dd45d9da45af0
parent51af4269d3eebd3d611be918f8c799c96c650496 (diff)
downloadgnuradio-37082c204f7b0611f2502a835e055319d0f750d1.tar.gz
gnuradio-37082c204f7b0611f2502a835e055319d0f750d1.tar.bz2
gnuradio-37082c204f7b0611f2502a835e055319d0f750d1.zip
Defined a gr_sysconfdir in Makefile.common
Modified uses of etcdir to use gr_sysconfdir. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11185 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--Makefile.common3
-rw-r--r--gnuradio-core/Makefile.am2
-rw-r--r--gr-audio-alsa/Makefile.am2
-rw-r--r--gr-audio-jack/Makefile.am2
-rw-r--r--gr-audio-oss/Makefile.am2
-rw-r--r--gr-audio-portaudio/Makefile.am2
-rw-r--r--gr-wxgui/Makefile.am2
7 files changed, 9 insertions, 6 deletions
diff --git a/Makefile.common b/Makefile.common
index 7bd35ce9a..c0625c7cb 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -118,6 +118,9 @@ exampledir = $(datadir)/gnuradio/examples
docdir ?= $(datadir)/doc/$(PACKAGE)
gr_docdir = $(docdir)-$(VERSION)
+# System configuration files
+gr_sysconfdir = $(sysconfdir)/$(PACKAGE)/conf.d
+
# Other common defines; use "+=" to add to these
STAMPS =
MOSTLYCLEANFILES = $(BUILT_SOURCES) $(STAMPS) *.pyc *.pyo *~ *.tmp *.loT
diff --git a/gnuradio-core/Makefile.am b/gnuradio-core/Makefile.am
index c9cf1b1ba..d5447c17a 100644
--- a/gnuradio-core/Makefile.am
+++ b/gnuradio-core/Makefile.am
@@ -29,5 +29,5 @@ SUBDIRS = src
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gnuradio-core.pc
-etcdir = $(sysconfdir)/gnuradio/conf.d
+etcdir = $(gr_sysconfdir)
dist_etc_DATA = gnuradio-core.conf
diff --git a/gr-audio-alsa/Makefile.am b/gr-audio-alsa/Makefile.am
index e2f67725a..443bc3210 100644
--- a/gr-audio-alsa/Makefile.am
+++ b/gr-audio-alsa/Makefile.am
@@ -26,5 +26,5 @@ SUBDIRS = src
pkgconfigdir = $(libdir)/pkgconfig
dist_pkgconfig_DATA = gnuradio-audio-alsa.pc
-etcdir = $(sysconfdir)/gnuradio/conf.d
+etcdir = $(gr_sysconfdir)
dist_etc_DATA = gr-audio-alsa.conf
diff --git a/gr-audio-jack/Makefile.am b/gr-audio-jack/Makefile.am
index 8eeb9bffe..99cfe8447 100644
--- a/gr-audio-jack/Makefile.am
+++ b/gr-audio-jack/Makefile.am
@@ -26,5 +26,5 @@ SUBDIRS = src
pkgconfigdir = $(libdir)/pkgconfig
dist_pkgconfig_DATA = gnuradio-audio-jack.pc
-etcdir = $(sysconfdir)/gnuradio/conf.d
+etcdir = $(gr_sysconfdir)
dist_etc_DATA = gr-audio-jack.conf
diff --git a/gr-audio-oss/Makefile.am b/gr-audio-oss/Makefile.am
index 697c9a604..9f460bc3a 100644
--- a/gr-audio-oss/Makefile.am
+++ b/gr-audio-oss/Makefile.am
@@ -26,5 +26,5 @@ SUBDIRS = src
pkgconfigdir = $(libdir)/pkgconfig
dist_pkgconfig_DATA = gnuradio-audio-oss.pc
-etcdir = $(sysconfdir)/gnuradio/conf.d
+etcdir = $(gr_sysconfdir)
dist_etc_DATA = gr-audio-oss.conf
diff --git a/gr-audio-portaudio/Makefile.am b/gr-audio-portaudio/Makefile.am
index 30a90647e..8be2fa734 100644
--- a/gr-audio-portaudio/Makefile.am
+++ b/gr-audio-portaudio/Makefile.am
@@ -26,5 +26,5 @@ SUBDIRS = src
pkgconfigdir = $(libdir)/pkgconfig
dist_pkgconfig_DATA = gnuradio-audio-portaudio.pc
-etcdir = $(sysconfdir)/gnuradio/conf.d
+etcdir = $(gr_sysconfdir)
dist_etc_DATA = gr-audio-portaudio.conf
diff --git a/gr-wxgui/Makefile.am b/gr-wxgui/Makefile.am
index 3e31fc435..e35ac6497 100644
--- a/gr-wxgui/Makefile.am
+++ b/gr-wxgui/Makefile.am
@@ -29,7 +29,7 @@ EXTRA_DIST = \
if PYTHON
SUBDIRS = src
-etcdir = $(sysconfdir)/gnuradio/conf.d
+etcdir = $(gr_sysconfdir)
dist_etc_DATA = gr-wxgui.conf
pkgconfigdir = $(libdir)/pkgconfig