Commit Graph

12 Commits

Author SHA1 Message Date
Nicola Fontana fd772c310c Do not hardcode paths in scripts
Try to reuse the configured paths as much as possible. Unfortunately, to
be able to fully expand some variable (e.g. `bindir`), these files must
be expanded by make, not by configure. This adds some complexity:

https://www.gnu.org/software/automake/manual/html_node/Scripts.html
2021-08-24 17:39:19 +02:00
Nicola Fontana 6e8c371c42 Do not include AC_CONFIG_FILES in BUILT_SOURCES
BUILT_SOURCES is used to trigger early generation of files in the `make`
process to workaround dependency problems:

    https://www.gnu.org/software/automake/manual/html_node/Sources.html

AC_CONFIG_FILES are generated by `configure`, so they are already
present in the file system even before `make` is called. Furthermore,
AC_CONFIG_FILES already properly handle dist and clean targets, so no
need to add them to EXTRA_DIST or DISTCLEANFILES:

    https://www.gnu.org/software/automake/manual/html_node/Requirements.html
2021-08-24 17:32:32 +02:00
Nicola Fontana db729dc967 Proper systemd support
Follow the directions on integrating systemd with autotools provided by
the systemd documentation itself:

https://www.freedesktop.org/software/systemd/man/daemon.html#Installing%20systemd%20Service%20Files

The snippet has been adapted to better match our coding style, e.g.
directly use of `if` instead of `AS_IF`.
2021-08-24 17:24:58 +02:00
Florian Pose 8f5d8b736c Add ethercat.conf to distribution. 2012-01-10 12:06:22 +01:00
Florian Pose 6b45d329ce Added first systemd support. 2012-01-04 18:00:36 +01:00
Florian Pose 12c12b1bab Improved and added license headers. 2009-02-24 12:51:39 +00:00
Florian Pose 5ca3d24337 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only. 2009-01-26 11:16:10 +00:00
Florian Pose 2f736c3ad8 Removed a few old scripts. 2008-08-01 15:01:45 +00:00
Florian Pose 7f4fa97ff3 Added EoE helpers. 2007-08-20 14:04:29 +00:00
Florian Pose 90a00b690e Changed structure of scripts subdirectory. 2007-02-13 13:01:59 +00:00
Florian Pose 77205fa563 Improved autotools files. 2006-10-09 14:43:20 +00:00
Richard Hacker c167fb5edc Added file script/Makefile.am 2006-10-09 13:14:07 +00:00