summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aquamarine/kcm/Makefile.am9
-rw-r--r--aquamarine/settings-backend/Makefile.am4
2 files changed, 11 insertions, 2 deletions
diff --git a/aquamarine/kcm/Makefile.am b/aquamarine/kcm/Makefile.am
index 69bb3a6..5b7113b 100644
--- a/aquamarine/kcm/Makefile.am
+++ b/aquamarine/kcm/Makefile.am
@@ -9,8 +9,13 @@ kcm_beryl_la_SOURCES = main.cpp \
KDE_CXXFLAGS = $(BERYLSETTINGS_CFLAGS)
-kde_module_LTLIBRARIES = kcm_beryl.la
-
METASOURCES = AUTO
+
+if with_berylsettings
+
+kde_module_LTLIBRARIES = kcm_beryl.la
+
xdg_apps_DATA = beryl.desktop
+
+endif \ No newline at end of file
diff --git a/aquamarine/settings-backend/Makefile.am b/aquamarine/settings-backend/Makefile.am
index fc4002d..85e89b4 100644
--- a/aquamarine/settings-backend/Makefile.am
+++ b/aquamarine/settings-backend/Makefile.am
@@ -1,3 +1,5 @@
+if with_berylsettings
+
INCLUDES = -I$(srcdir)/lib $(all_includes)
libkconfig_la_LDFLAGS = -module -avoid-version -no-undefined $(all_libraries)
@@ -7,3 +9,5 @@ backenddir = $(plugindir)/backends
KDE_CXXFLAGS = $(BERYLSETTINGS_CFLAGS)
backend_LTLIBRARIES = libkconfig.la
+
+endif \ No newline at end of file