From ee3dcf350b5621d7965a8b8185a3dc534bcc46c7 Mon Sep 17 00:00:00 2001 From: Bryan Kadzban Date: Sun, 11 Sep 2016 15:20:13 -0700 Subject: Read system.twmrc from where it got installed ${rcdir} is ${datadir}/X11/twm by default, but can be overridden when running make. If it is overridden, then the code should read from the same place as where "make rcdir=FOO install" puts the file. (Obviously overriding rcdir= for "make install" requires overriding it for "make" as well. But at least this way it's possible to get it to work. :-) ) Signed-off-by: Alan Coopersmith --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 092d8ce..ba9c7b9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,7 +30,7 @@ dist_rc_DATA = system.twmrc AM_CPPFLAGS = \ -DXVENDORNAME=\"The\ X.Org\ Foundation\" \ -DXORG_RELEASE=\"Release\ $(VERSION)\" \ - -DSYSTEM_INIT_FILE=\"${datadir}/X11/twm/system.twmrc\" + -DSYSTEM_INIT_FILE=\"${rcdir}/system.twmrc\" AM_CFLAGS = $(TWM_CFLAGS) twm_LDADD = $(TWM_LIBS) -- cgit v1.2.3