init: Don't build/install legacy systemd service if charon isn't built

If the user configures the build to only include charon-systemd the
"legacy" systemd service isn't useful, so skip its generation and
installation.
This commit is contained in:
Romain Francoise
2015-05-04 13:25:30 +02:00
committed by Martin Willi
parent b821575093
commit f5db98c038
+2
View File
@@ -2,8 +2,10 @@
SUBDIRS =
if USE_LEGACY_SYSTEMD
if USE_CHARON
SUBDIRS += systemd
endif
endif
if USE_SYSTEMD
if USE_SWANCTL