2001-08-19 Chris Toshok <toshok@ximian.com> * omf-install/Makefile.am (scrollkeeper_localstate_dir) use $(SCROLLKEEPER_LOCALSTATE_DIR), and not something based on evolution's local state dir. this should fix the core dumps during install on freebsd and solaris. * configure.in (GLIB_CONFIG): use $GLIB_CONFIG if it's set, otherwise default to glib-config. a cheap solution to get this working on freebsd (where they have glib12-config, but not glib-config.) also, switch all `glib-config`s to `$GLIB_CONFIG`. (SCROLLKEEPER_LOCALSTATE_DIR): use scrollkeeper-config to figure this out, and AC_SUBST so omf-install/Makefile.am can use it. svn path=/trunk/; revision=12227
18 lines
556 B
Makefile
18 lines
556 B
Makefile
omf_dest_dir=$(datadir)/omf/evolution
|
|
scrollkeeper_localstate_dir = $(SCROLLKEEPER_LOCALSTATE_DIR)
|
|
|
|
install-data-local:
|
|
$(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
|
|
-for file in $(srcdir)/*.omf; do \
|
|
$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(omf_dest_dir); \
|
|
done
|
|
-scrollkeeper-update -p $(scrollkeeper_localstate_dir)
|
|
|
|
uninstall-local:
|
|
-for file in $(srcdir)/*.omf; do \
|
|
basefile=`basename $$file`; \
|
|
rm -f $(omf_dest_dir)/$$basefile; \
|
|
done
|
|
-rmdir $(omf_dest_dir)
|
|
-scrollkeeper-update -p $(scrollkeeper_localstate_dir)
|