diff options
author | jblum <jblum@221aa14e-8319-0410-a670-987f0aec2ac5> | 2008-09-20 15:24:32 +0000 |
---|---|---|
committer | jblum <jblum@221aa14e-8319-0410-a670-987f0aec2ac5> | 2008-09-20 15:24:32 +0000 |
commit | b0a3976e0c8c45cbe194984abfc26a125a72870f (patch) | |
tree | cfbc3c8920358eeb1e56996638d9ceecfdd9324c | |
parent | 721a6b398ab3306d806f2a49741f005dcbee178f (diff) |
conditional fix for docdir undefined in autoconf < 1.60
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9615 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common index eb7390811b..ed17babe63 100644 --- a/Makefile.common +++ b/Makefile.common @@ -117,5 +117,5 @@ COMPILE_MBH = $(RUN_GUILE) $(top_srcdir)/mblock/src/scheme/gnuradio/compile-mbh. # Base directory for example applications exampledir = $(datadir)/gnuradio/examples -# Base directory for documentation -gr_docdir = $(docdir)-$(VERSION) +# Base directory for documentation (docdir undefined in autoconf < 1.60) +gr_docdir = $(if $(docdir),$(docdir),$(datadir)/doc/$(PACKAGE))-$(VERSION) |