summaryrefslogtreecommitdiff
path: root/legacy/elementary/Makefile.am
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2014-09-04 18:39:56 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-09-04 17:33:06 +0200
commit1a3ba20ae3deb8616a32a86632aac2d73816a25a (patch)
treef9f1547cc6f25269954dff6ee180613772f536eb /legacy/elementary/Makefile.am
parent48a581fe217731b0af878f019070145526691d5a (diff)
create elementary.pc at make time to follow GNU coding standards
Diffstat (limited to 'legacy/elementary/Makefile.am')
-rw-r--r--legacy/elementary/Makefile.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/legacy/elementary/Makefile.am b/legacy/elementary/Makefile.am
index b03db14ee1..9353394797 100644
--- a/legacy/elementary/Makefile.am
+++ b/legacy/elementary/Makefile.am
@@ -72,6 +72,29 @@ m4/elm_check_backend.m4 \
72config.rpath \ 72config.rpath \
73pkgbuild/PKGBUILD 73pkgbuild/PKGBUILD
74 74
75sed_process = \
76$(SED) \
77-e 's,@VERSION\@,$(VERSION),g' \
78-e 's,@VMAJ\@,$(VMAJ),g' \
79-e 's,@prefix\@,$(prefix),g' \
80-e 's,@exec_prefix\@,$(exec_prefix),g' \
81-e 's,@libdir\@,$(libdir),g' \
82-e 's,@includedir\@,$(includedir),g' \
83-e 's,@datarootdir\@,$(datarootdir),g' \
84-e 's,@datadir\@,$(datadir),g' \
85-e 's,@pkgdatadir\@,$(pkgdatadir),g' \
86-e 's,@requirement_elm_pc\@,$(requirement_elm_pc),g' \
87-e 's,@ELEMENTARY_LIBS\@,$(ELEMENTARY_LIBS),g' \
88< $< > $@ || rm $@
89
90pc_verbose = $(pc_verbose_@AM_V@)
91pc_verbose_ = $(pc_verbose_@AM_DEFAULT_V@)
92pc_verbose_0 = @echo " PC " $@;
93
94elementary.pc: $(top_srcdir)/elementary.pc.in Makefile
95 $(AM_V_at)rm -f $@
96 $(pc_verbose)$(sed_process)
97
75if HAVE_FREEBSD 98if HAVE_FREEBSD
76pkgconfigdir = $(libdir)data/pkgconfig 99pkgconfigdir = $(libdir)data/pkgconfig
77else 100else
@@ -80,6 +103,8 @@ endif
80 103
81pkgconfig_DATA = elementary.pc 104pkgconfig_DATA = elementary.pc
82 105
106CLEANFILES = elementary.pc
107
83cmakeconfigdir = $(libdir)/cmake/Elementary 108cmakeconfigdir = $(libdir)/cmake/Elementary
84cmakeconfig_DATA = \ 109cmakeconfig_DATA = \
85cmakeconfig/ElementaryConfig.cmake \ 110cmakeconfig/ElementaryConfig.cmake \