--- freem/Makefile.am 2025/03/10 00:42:41 1.4 +++ freem/Makefile.am 2025/03/27 03:27:34 1.6 @@ -1,5 +1,5 @@ # -# $Id: Makefile.am,v 1.4 2025/03/10 00:42:41 snw Exp $ +# $Id: Makefile.am,v 1.6 2025/03/27 03:27:34 snw Exp $ # automake rules for freem # # @@ -24,6 +24,12 @@ # along with FreeM. If not, see . # # $Log: Makefile.am,v $ +# Revision 1.6 2025/03/27 03:27:34 snw +# Install init scripts to share/freem/examples/init and fix regression in method dispatch +# +# Revision 1.5 2025/03/24 04:21:39 snw +# Attempted installer fix for OS/2 +# # Revision 1.4 2025/03/10 00:42:41 snw # Fix broken build regression # @@ -46,6 +52,10 @@ systemrtndir = $(localstatedir)/freem/DE usergbldir = $(localstatedir)/freem/DEFAULT/USER/globals userrtndir = $(localstatedir)/freem/DEFAULT/USER/routines journaldir = $(localstatedir)/freem/DEFAULT/journals +systemddir = $(datadir)/freem/examples/init/systemd +systemdfedoradir = $(datadir)/freem/examples/init/systemd/fedora +freebsdrcdir = $(datadir)/freem/examples/init/freebsd_rc +solarisinitdir = $(datadir)/freem/examples/init/solaris mlib = mlib/%DB.m mlib/%MAPPING.m mlib/%NETHTTP.m \ mlib/%SYSINIT.m mlib/%TUIMENU.m mlib/%ZCOLUMNS.m \ @@ -61,9 +71,13 @@ systemgbl_DATA = sysns_global.txt userrtn_DATA = userns_routine.txt usergbl_DATA = userns_global.txt journal_DATA = journals.txt +systemd_DATA = scripts/systemd/system/freem.service +systemdfedora_DATA = scripts/systemd/fedora/freem.service +freebsdrc_DATA = scripts/freebsd-rc/freem +solarisinit_DATA = scripts/solaris-init/freem install-exec-hook: - chmod 755 $(DESTDIR)$(bindir)/freem + chmod 755 $(DESTDIR)$(bindir)/freem* install-data-hook: chmod -R 777 $(DESTDIR)$(journaldir) $(DESTDIR)$(systemgbldir) $(DESTDIR)$(usergbldir) $(DESTDIR)$(userrtndir)