summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2014-09-04 16:43:12 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-09-04 17:33:05 +0200
commit4664b183e3babe46917f48870069cb5958df2f76 (patch)
tree173aa412027e5633b52f874db948bb61ecc3a462 /doc
parentad9aa4a41697c9ea1ef394b5315f983a74bee34f (diff)
downloadelementary-4664b183e3babe46917f48870069cb5958df2f76.tar.gz
autotools: add m4 macro to check for options
This simplify autotools in elementary by recycling the same m4 and also compilation flags. Less code to read and maintain.
Diffstat (limited to 'doc')
-rw-r--r--doc/widgets/Makefile.am8
1 files changed, 1 insertions, 7 deletions
diff --git a/doc/widgets/Makefile.am b/doc/widgets/Makefile.am
index 508b250d0..a53024e1d 100644
--- a/doc/widgets/Makefile.am
+++ b/doc/widgets/Makefile.am
@@ -12,11 +12,7 @@ AM_CPPFLAGS = \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
-DDOCW_DIR=\"$(abs_top_builddir)/doc/widgets\" \
-@ELEMENTARY_CFLAGS@ \
-@ELEMENTARY_ELOCATION_CFLAGS@ \
-@ELEMENTARY_EWEATHER_CFLAGS@ \
-@ELEMENTARY_WEB_CFLAGS@ \
-@ELEMENTARY_EMAP_CFLAGS@
+@ELEMENTARY_CFLAGS@
noinst_DATA = widget_preview_prefs.epb
@@ -101,8 +97,6 @@ widget_preview_web \
widget_preview_win
LDADD = $(top_builddir)/src/lib/libelementary.la \
-@ELEMENTARY_EWEATHER_LIBS@ \
-@ELEMENTARY_EMAP_LIBS@ \
@ELEMENTARY_LIBS@ \
@my_libs@