summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--pages/Makefile7
-rw-r--r--pages/setup.ecpp1
3 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 28c431c..3150941 100644
--- a/Makefile
+++ b/Makefile
@@ -143,10 +143,10 @@ generate-i18n: i18n-template.h $(I18Npot) $(I18Npo) buildutil/pot2i18n.pl
subdirs: $(SUBDIRS)
$(SUBDIRS):
- $(MAKE) -C $@ CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" $(MAKECMDGOALS)
+ $(MAKE) -C $@ CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" VDRDIR="../$(VDRDIR)" $(MAKECMDGOALS)
PAGES:
- $(MAKE) -C pages CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" .dependencies
+ $(MAKE) -C pages CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" VDRDIR="../$(VDRDIR)" .dependencies
$(VERSIONSUFFIX): FORCE
./buildutil/version-util $(VERSIONSUFFIX) || ./buildutil/version-util -F $(VERSIONSUFFIX)
diff --git a/pages/Makefile b/pages/Makefile
index 2ab3960..7e0ab56 100644
--- a/pages/Makefile
+++ b/pages/Makefile
@@ -1,8 +1,11 @@
-CXX ?= g++
+CXX ?= g++ -v
AR ?= ar
ECPPC ?= ecppc
-INCLUDES += -I.. -I$(VDRDIR)/include
+-include $(VDRDIR)/Make.global
+-include $(VDRDIR)/Make.config
+
+INCLUDES += -I.. -I$(VDRDIR)/include
### The directory environment:
diff --git a/pages/setup.ecpp b/pages/setup.ecpp
index 845e4b7..98bf1eb 100644
--- a/pages/setup.ecpp
+++ b/pages/setup.ecpp
@@ -71,6 +71,7 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP))
LiveSetup().SetShowIMDb(!showIMDb.empty());
LiveSetup().SetShowChannelsWithoutEPG(!showChannelsWithoutEPG.empty());
LiveSetup().SaveSetup();
+
message = tr("Setup saved.");
}
}