Commit Graph

13 Commits

Author SHA1 Message Date
Nicola Fontana
4c8ffd9a57 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-07-22 14:40:03 +02:00
Florian Pose
7dd06f87c1 Merge branch 'entidi/ethercat-fix-built-sources' into stable-1.5 2021-05-25 12:26:09 +02:00
Nicola Fontana
60dd78485c 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-05-22 08:25:26 +02:00
Nicola Fontana
1d65f6617f 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-05-22 07:22:57 +02:00
Florian Pose
71422c035b Add ethercat.conf to distribution. 2012-01-10 12:06:22 +01:00
Florian Pose
04b652a7fb 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