Enable package.C to be built with Solaris sed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9738 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-03-23 21:10:43 +00:00
parent 75a281a7c6
commit c4fd0aa08d
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-03-23 Angus Leeming <leeming@lyx.org>
* Makefile.am (build_package): Solaris sed does not like
spaces bewteen the ;-delimited commands.
2005-02-25 Lars Gullik Bjonnes <larsbj@gullik.net> 2005-02-25 Lars Gullik Bjonnes <larsbj@gullik.net>
* Makefile.am (CLEANFILES): clean generated files * Makefile.am (CLEANFILES): clean generated files

View File

@ -83,13 +83,14 @@ libsupport_la_SOURCES = \
package.C: build_package package.C: build_package
# Solaris sed does not like spaces bewteen the ;-delimited commands
build_package: package.C.in build_package: package.C.in
@rm -f tmp_package ;\ @rm -f tmp_package ;\
ABS_SRCDIR=`cd $(top_srcdir) && pwd` ;\ ABS_SRCDIR=`cd $(top_srcdir) && pwd` ;\
ABS_BUILDDIR=`cd ../.. && pwd` ;\ ABS_BUILDDIR=`cd ../.. && pwd` ;\
sed "s,%LYX_DIR%,$(pkgdatadir), ;\ sed "s,%LYX_DIR%,$(pkgdatadir),;\
s,%LOCALEDIR%,$(datadir)/locale, ;\ s,%LOCALEDIR%,$(datadir)/locale,;\
s,%TOP_SRCDIR%,$${ABS_SRCDIR}," \ s,%TOP_SRCDIR%,$${ABS_SRCDIR}," \
$(srcdir)/package.C.in > tmp_package ;\ $(srcdir)/package.C.in > tmp_package ;\
if cmp -s tmp_package package.C ; then \ if cmp -s tmp_package package.C ; then \
rm -f tmp_package ;\ rm -f tmp_package ;\