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