Use the GEN silent rule when generating files with sed
This commit is contained in:
parent
f932677f0c
commit
0be946dce3
|
@ -17,11 +17,13 @@ nodist_config_include_HEADERS = config.h
|
|||
endif
|
||||
|
||||
Android.common.mk : Android.common.mk.in configure.in
|
||||
$(AM_V_GEN) \
|
||||
sed \
|
||||
-e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
|
||||
$(srcdir)/$@.in > $@
|
||||
|
||||
Doxyfile : Doxyfile.in
|
||||
$(AM_V_GEN) \
|
||||
sed \
|
||||
-e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
|
||||
-e "s:\@PACKAGE_NAME\@:$(PACKAGE_NAME):" \
|
||||
|
|
|
@ -5,6 +5,7 @@ CLEANFILES = strongswan.service
|
|||
systemdsystemunit_DATA = strongswan.service
|
||||
|
||||
strongswan.service : strongswan.service.in
|
||||
$(AM_V_GEN) \
|
||||
sed \
|
||||
-e "s:@SBINDIR@:$(sbindir):" \
|
||||
-e "s:@IPSEC_SCRIPT@:$(ipsec_script):" \
|
||||
|
|
|
@ -5,9 +5,9 @@ CLEANFILES = ipsec.conf.5 ipsec.secrets.5 strongswan.conf.5
|
|||
SUFFIXES = .in
|
||||
|
||||
.in:
|
||||
$(AM_V_GEN) \
|
||||
sed \
|
||||
-e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
|
||||
-e "s:@DEV_URANDOM@:$(urandom_device):" \
|
||||
-e "s:@DEV_RANDOM@:$(random_device):" \
|
||||
$(srcdir)/$@.in > $@
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ dist_man8_MANS = _updown.8
|
|||
EXTRA_DIST = _updown.in
|
||||
|
||||
_updown : _updown.in
|
||||
$(AM_V_GEN) \
|
||||
sed \
|
||||
-e "s:\@sbindir\@:$(sbindir):" \
|
||||
-e "s:\@routing_table\@:$(routing_table):" \
|
||||
|
|
|
@ -11,6 +11,7 @@ nmvpnservice_DATA = nm-strongswan-service.name
|
|||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
nm-strongswan-service.name: $(srcdir)/nm-strongswan-service.name.in
|
||||
$(AM_V_GEN) \
|
||||
sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|' \
|
||||
-e 's|[@]CHARON[@]|$(charon)|' $< >$@
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ dist_man8_MANS = _ipsec.8
|
|||
EXTRA_DIST = _ipsec.in _ipsec.8.in Android.mk
|
||||
|
||||
_ipsec.8 : _ipsec.8.in
|
||||
$(AM_V_GEN) \
|
||||
sed \
|
||||
-e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
|
||||
-e "s:@IPSEC_SCRIPT@:$(ipsec_script):g" \
|
||||
|
@ -11,6 +12,7 @@ _ipsec.8 : _ipsec.8.in
|
|||
$(srcdir)/$@.in > $@
|
||||
|
||||
_ipsec : _ipsec.in
|
||||
$(AM_V_GEN) \
|
||||
sed \
|
||||
-e "s:@IPSEC_SHELL@:/bin/sh:" \
|
||||
-e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
|
||||
|
|
|
@ -20,8 +20,8 @@ libstrongswan_maemo_la_LIBADD = ${maemo_LIBS}
|
|||
dbusservice_DATA = org.strongswan.charon.service
|
||||
|
||||
org.strongswan.charon.service: $(srcdir)/org.strongswan.charon.service.in
|
||||
$(AM_V_GEN) \
|
||||
sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|' $< >$@
|
||||
|
||||
EXTRA_DIST = org.strongswan.charon.service.in
|
||||
CLEANFILES = $(dbusservice_DATA)
|
||||
|
||||
|
|
Loading…
Reference in New Issue