SUBDIRS = src confexecdir=$(libdir) confexec_DATA = libmorphConf.sh EXTRA_DIST = configure acconfig.h libmorphConf.sh.in dist-hook: cp libmorph.spec $(distdir) libmorphConf.sh: libmorphConf.sh.in Makefile ## Use sed and then mv to avo`id problems if the user interrupts. sed -e 's?\@LIBMORPH_LIBDIR\@?$(LIBMORPH_LIBDIR)?g' \ -e 's?\@LIBMORPH_INCLUDEDIR\@?$(LIBMORPH_INCLUDEDIR)?g' \ -e 's?\@VERSION\@?$(VERSION)?g' \ -e 's?\@LIBMORPH_LIBS\@?$(LIBMORPH_LIBS)?g' \ < $(srcdir)/libmorphConf.sh.in > libmorphConf.tmp \ && mv libmorphConf.tmp libmorphConf.sh