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)
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 = \
12-DPACKAGE_BIN_DIR=\"$(bindir)\" \ 12-DPACKAGE_BIN_DIR=\"$(bindir)\" \
13-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 13-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
14-DDOCW_DIR=\"$(abs_top_builddir)/doc/widgets\" \ 14-DDOCW_DIR=\"$(abs_top_builddir)/doc/widgets\" \
15@ELEMENTARY_CFLAGS@ \ 15@ELEMENTARY_CFLAGS@
16@ELEMENTARY_ELOCATION_CFLAGS@ \
17@ELEMENTARY_EWEATHER_CFLAGS@ \
18@ELEMENTARY_WEB_CFLAGS@ \
19@ELEMENTARY_EMAP_CFLAGS@
20 16
21noinst_DATA = widget_preview_prefs.epb 17noinst_DATA = widget_preview_prefs.epb
22 18
@@ -101,8 +97,6 @@ widget_preview_web \
101widget_preview_win 97widget_preview_win
102 98
103LDADD = $(top_builddir)/src/lib/libelementary.la \ 99LDADD = $(top_builddir)/src/lib/libelementary.la \
104@ELEMENTARY_EWEATHER_LIBS@ \
105@ELEMENTARY_EMAP_LIBS@ \
106@ELEMENTARY_LIBS@ \ 100@ELEMENTARY_LIBS@ \
107@my_libs@ 101@my_libs@
108 102