diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index df0a66c3fb..d7c2bef2ca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,13 @@ changelogs = \ ChangeLog +confexecdir = $(libdir) +confexec_DATA = \ + camelConf.sh \ + evolution_shellConf.sh \ + evolution_addressbookConf.sh \ + evolution_calendarConf.sh + EXTRA_DIST = \ AUTHORS \ $(changelogs) \ @@ -11,7 +18,8 @@ EXTRA_DIST = \ NEWS \ xml-i18n-merge.in \ xml-i18n-update.in \ - xml-i18n-extract.in + xml-i18n-extract.in \ + $(confexec_DATA:.sh=.sh.in) SUBDIRS = \ intl \ @@ -43,3 +51,23 @@ SUBDIRS = \ po \ omf-install +%Conf.sh: %Conf.sh.in Makefile + sed -e 's?\@EVOLUTION_LIBDIR\@?$(EVOLUTION_LIBDIR)?g' \ + -e 's?\@EVOLUTION_DATADIR\@?$(EVOLUTION_DATADIR)?g' \ + -e 's?\@EVOLUTION_INCLUDEDIR\@?$(EVOLUTION_INCLUDEDIR)?g' \ + -e 's?\@CAMEL_INCLUDEDIR\@?$(CAMEL_INCLUDEDIR)?g' \ + -e 's?\@VERSION\@?$(VERSION)?g' \ + -e 's?\@privlibdir\@?$(privlibdir)?g' \ + -e 's?\@SHELL_LIBS\@?$(SHELL_LIBS)?g' \ + -e 's?\@SHELL_CFLAGS\@?$(SHELL_CFLAGS)?g' \ + -e 's?\@CAMEL_LIBS\@?$(CAMEL_LIBS)?g' \ + -e 's?\@CAMEL_CFLAGS\@?$(CAMEL_CFLAGS)?g' \ + -e 's?\@LDAP_LIBS\@?$(LDAP_LIBS)?g' \ + -e 's?\@LDAP_CFLAGS\@?$(LDAP_CFLAGS)?g' \ + -e 's?\@EVOLUTION_ADDRESSBOOK_LIBS\@?$(EVOLUTION_ADDRESSBOOK_LIBS)?g' \ + -e 's?\@EVOLUTION_ADDRESSBOOK_CFLAGS\@?$(EVOLUTION_ADDRESSBOOK_CFLAGS)?g' \ + -e 's?\@EVOLUTION_CALENDAR_LIBS\@?$(EVOLUTION_CALENDAR_LIBS)?g' \ + -e 's?\@EVOLUTION_CALENDAR_CFLAGS\@?$(EVOLUTION_CALENDAR_CFLAGS)?g' \ + < $(srcdir)/$< > $@.tmp \ + && mv $@.tmp $@ + |