source: trunk/third/eel/Makefile.am @ 17274

Revision 17274, 1.9 KB checked in by amb, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17273, which included commits to RCS files with non-trunk default branches.
Line 
1NULL=
2
3@XML_I18N_MERGE_DESKTOP_RULE@
4
5SUBDIRS =                       \
6        data \
7        intl \
8        eel \
9        test \
10        po \
11        $(NULL)
12
13EXTRA_DIST=                                     \
14        COPYING.LIB                             \
15        HACKING                                 \
16        MAINTAINERS                             \
17        eel.spec.in                     \
18        eelConf.sh.in                   \
19        eel-config.in                   \
20        xml-i18n-extract.in                     \
21        xml-i18n-merge.in                       \
22        xml-i18n-update.in                      \
23        $(NULL)
24
25## [The following is shamelessly copied from gnome-vfs.]
26
27## We create `eelConf.sh' here and not from configure because we
28## want to get the paths expanded correctly.  Macros like srcdir are
29## given the value NONE in configure if the user doesn't specify them
30## (this is an autoconf feature, not a bug).
31
32bin_SCRIPTS = $(top_builddir)/eel-config
33
34confexecdir=$(libdir)
35confexec_DATA =                                 \
36        eelConf.sh                              \
37        $(NULL)
38
39eelConf.sh: eelConf.sh.in Makefile
40        sed -e 's?\@EEL_LIBDIR\@?$(EEL_LIBDIR)?g' \
41            -e 's?\@EEL_INCLUDEDIR\@?$(EEL_INCLUDEDIR)?g' \
42            -e 's?\@VERSION\@?$(VERSION)?g' \
43            -e 's?\@EEL_LIBS\@?$(EEL_LIBS)?g' \
44              < $(srcdir)/eelConf.sh.in > eelConf.tmp \
45          && mv eelConf.tmp eelConf.sh
46
47eel-config: eel-config.in Makefile
48        sed -e 's?\@LIBDIR\@?$(libdir)?g' \
49            -e 's?\@EEL_LIBDIR\@?$(EEL_LIBDIR)?g' \
50            -e 's?\@EEL_INCLUDEDIR\@?$(EEL_INCLUDEDIR)?g' \
51            -e 's?\@VERSION\@?$(VERSION)?g' \
52            -e 's?\@EEL_LIBS\@?$(EEL_LIBS)?g' \
53              < $(srcdir)/eel-config.in > eel-config.tmp \
54          && mv eel-config.tmp eel-config && \
55                chmod 755 eel-config
56
57##################################################################
58#
59# dist-hook
60#
61##################################################################
62
63dist-hook: eel.spec
64        cp eel.spec $(distdir)
65
66# This is ridiculous, but automake apparently won't allow conditionals
67# in EXTRA_DIST.
68
69        mkdir -p $(distdir)/eazel-logos
70        list='$(EAZEL_LOGOS_ICONS)'; \
71        for i in $$list; \
72        do \
73                cp $$i $(distdir)/eazel-logos; \
74        done
75
76        mkdir -p $(distdir)/eazel-logos/throbber
77        list='$(EAZEL_LOGOS_THROBBER)'; \
78        for i in $$list; \
79        do \
80                cp $$i $(distdir)/eazel-logos/throbber; \
81        done
Note: See TracBrowser for help on using the repository browser.