--- Makefile.in.old 2003-09-25 14:07:20.000000000 -0700 +++ Makefile.in 2003-10-19 16:17:00.000000000 -0700 @@ -63,12 +63,13 @@ echo "If you want AfterStep to appear in your Gnome menu, please install as root."; \ fi \ fi - @if [ -d /usr/share/gnome/wm-properties ] ; then \ - if [ -w /usr/share/gnome/wm-properties ] ; then \ - echo $(CP) AfterStep.desktop /usr/share/gnome/wm-properties/; \ - $(CP) AfterStep.desktop /usr/share/gnome/wm-properties/; \ + @if [ -d $(GNOME_SHAREDIR)/wm-properties ] ; then \ + if [ -w $(GNOME_SHAREDIR)/wm-properties ] ; then \ + echo $(CP) AfterStep.desktop $(GNOME_SHAREDESTDIR)/wm-properties/; \ + $(MKDIR) -p $(GNOME_SHAREDESTDIR)/wm-properties; \ + $(CP) AfterStep.desktop $(GNOME_SHAREDESTDIR)/wm-properties/; \ else \ - echo "/usr/share/gnome/wm-properties exists but is not writable."; \ + echo "$(GNOME_SHAREDIR)/wm-properties exists but is not writable."; \ echo "If you want AfterStep to appear in your Gnome menu, please install as root."; \ fi \ fi --- autoconf/Makefile.defines.in.old 2003-08-22 23:28:44.000000000 -0700 +++ autoconf/Makefile.defines.in 2003-10-19 16:20:53.000000000 -0700 @@ -55,6 +55,8 @@ AFTER_MAN_DIR = $(DESTDIR)@mandir@/man1 AFTER_DOC_DIR = $(DESTDIR)@datadir@/afterstep/doc AFTER_SHAREDIR = $(DESTDIR)@datadir@/afterstep +GNOME_SHAREDIR = @datadir@/gnome +GNOME_SHAREDESTDIR = $(DESTDIR)$(GNOME_SHAREDIR) AFTER_DIR = @with_afterdir@ AFTER_SAVE = @with_afterdir@/.workspace_state AFTER_NONCF = @with_afterdir@/non-configurable