Skip to content

Commit

Permalink
include/Makefile: install systemd.h by default
Browse files Browse the repository at this point in the history
Install systemd.h header file by default, as we have stub and defined
versions of the systemd functions for both non-systemd and systemd
enabled configurations.  This will help packagers to ship package
without systemd support (--enable-systemd=no).

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
  • Loading branch information
kamalesh-babulal authored and drakenclimber committed Dec 7, 2023
1 parent f34e87a commit 592dcdc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions include/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@
nobase_include_HEADERS = libcgroup.h libcgroup/error.h libcgroup/init.h \
libcgroup/groups.h libcgroup/tasks.h \
libcgroup/iterators.h libcgroup/config.h \
libcgroup/log.h libcgroup/tools.h

if WITH_SYSTEMD
nobase_include_HEADERS += libcgroup/systemd.h
endif
libcgroup/log.h libcgroup/tools.h libcgroup/systemd.h

0 comments on commit 592dcdc

Please sign in to comment.