packagers may forget to do it in post-install scripts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34682
a592a061-630c-0410-9148-
cb99ea01b6c8
bin_PROGRAMS = lyxeditor lyxwin
bin_SCRIPTS = lyxeditor.sh
-dist_noinst_DATA = lyxprofile
+
+lyxdistdir = $(pkgdatadir)
+dist_lyxdist_DATA = lyxprofile lyxrc.dist
lyxeditor_SOURCES = lyxeditor.c
lyxwin_SOURCES = lyxwin.c lyxwinres.rc
/* fprintf(stderr , "Command is: |%s|\n", cmd); */
/* ensure bash reads our global env changes */
- putenv("BASH_ENV=/etc/lyxprofile") ;
+ putenv("BASH_ENV=" LYX_ABS_INSTALLED_DATADIR "/lyxprofile") ;
/* exec sub command */
spawnv(_P_NOWAIT, "/bin/bash", nargs);
/* exit with no error */