/[gentoo-x86]/eclass/systemd.eclass
Gentoo

Diff of /eclass/systemd.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.17 Revision 1.18
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.17 2012/10/30 21:29:32 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.18 2012/10/30 21:56:31 mgorny Exp $
4 4
5# @ECLASS: systemd.eclass 5# @ECLASS: systemd.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# mgorny@gentoo.org 7# mgorny@gentoo.org
8# @BLURB: helper functions to install systemd units 8# @BLURB: helper functions to install systemd units
162 local optname=${1:-systemdsystemunitdir} 162 local optname=${1:-systemdsystemunitdir}
163 163
164 echo --with-${optname}="$(systemd_get_unitdir)" 164 echo --with-${optname}="$(systemd_get_unitdir)"
165} 165}
166 166
167# @FUNCTION: systemd_with_utildir
168# @DESCRIPTION:
169# Output '--with-systemdsystemutildir' as used by some packages to install
170# systemd helpers. This function always succeeds. Its output may be quoted
171# in order to preserve whitespace in paths.
172systemd_with_utildir() {
173 debug-print-function ${FUNCNAME} "${@}"
174
175 echo --with-systemdutildir="$(systemd_get_utildir)"
176}
177
167# @FUNCTION: systemd_to_myeconfargs 178# @FUNCTION: systemd_to_myeconfargs
168# @DESCRIPTION: 179# @DESCRIPTION:
169# Add '--with-systemdsystemunitdir' as expected by systemd-aware configure 180# Add '--with-systemdsystemunitdir' as expected by systemd-aware configure
170# scripts to the myeconfargs variable used by autotools-utils eclass. Handles 181# scripts to the myeconfargs variable used by autotools-utils eclass. Handles
171# quoting automatically. 182# quoting automatically.

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20