source: trunk/third/gnome-vfs/Makefile.am @ 18126

Revision 18126, 1.5 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18125, which included commits to RCS files with non-trunk default branches.
Line 
1if PLATFORM_GNOME_2
2SUBDIRS_GNOME=doc
3else
4SUBDIRS_GNOME=doc test
5endif
6
7SUBDIRS =                                       \
8        libgnomevfs                             \
9        libgnomevfs-pthread                     \
10        idl                                     \
11        modules                                 \
12        devel-docs                              \
13        $(SUBDIRS_GNOME)                        \
14        po
15
16
17EXTRA_DIST =                                    \
18        HACKING                                 \
19        TODO                                    \
20        autogen.sh                              \
21        gnome-vfs.spec                          \
22        vfsConf.sh.in                           \
23        xml-i18n-extract.in                     \
24        xml-i18n-merge.in                       \
25        xml-i18n-update.in                      \
26        gnome-vfs-config.in
27
28bin_SCRIPTS = $(top_builddir)/gnome-vfs-config
29
30confexecdir=$(libdir)
31confexec_DATA =                                 \
32        vfsConf.sh
33
34## [The following is shamelessly copied from gnome-print.]
35
36## We create `vfsConf.sh' and `gnome-vfs-config' here and
37## not from configure because we want to get the paths expanded correctly.
38## Macros like srcdir are given the value NONE in configure if the user doesn't
39## specify them (this is an autoconf feature, not a bug).
40
41vfsConf.sh: vfsConf.sh.in Makefile
42        sed -e 's?\@VFS_LIBDIR\@?$(VFS_LIBDIR)?g' \
43            -e 's?\@VFS_INCLUDEDIR\@?$(VFS_INCLUDEDIR)?g' \
44            -e 's?\@VERSION\@?$(VERSION)?g' \
45            -e 's?\@VFS_LIBS\@?$(VFS_LIBS)?g' \
46              < $(srcdir)/vfsConf.sh.in > vfsConf.tmp \
47          && mv vfsConf.tmp vfsConf.sh
48
49gnome-vfs-config: gnome-vfs-config.in Makefile
50        sed -e 's?\@LIBDIR\@?$(libdir)?g' \
51            -e 's?\@VFS_LIBDIR\@?$(VFS_LIBDIR)?g' \
52            -e 's?\@VFS_INCLUDEDIR\@?$(VFS_INCLUDEDIR)?g' \
53            -e 's?\@VERSION\@?$(VERSION)?g' \
54            -e 's?\@VFS_LIBS\@?$(VFS_LIBS)?g' \
55              < $(srcdir)/gnome-vfs-config.in > gnome-vfs-config.tmp \
56          && mv gnome-vfs-config.tmp gnome-vfs-config && \
57                chmod 755 gnome-vfs-config
Note: See TracBrowser for help on using the repository browser.