Use the GEN silent rule when generating files with sed
authorMartin Willi <martin@revosec.ch>
Wed, 10 Apr 2013 13:35:55 +0000 (15:35 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 6 May 2013 13:04:56 +0000 (15:04 +0200)
Makefile.am
init/systemd/Makefile.am
man/Makefile.am
src/_updown/Makefile.am
src/frontends/gnome/Makefile.am
src/ipsec/Makefile.am
src/libcharon/plugins/maemo/Makefile.am

index 8a558c1..3cd7986 100644 (file)
@@ -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):" \
index bdbf502..e4b7166 100644 (file)
@@ -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):" \
index ea04303..0becd24 100644 (file)
@@ -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 > $@
-
index 116322e..b6a81f5 100644 (file)
@@ -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):" \
index fb29085..1184711 100644 (file)
@@ -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)|' $< >$@
 
index 8be28ef..73427c0 100644 (file)
@@ -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):" \
index 0bf7fad..74a019a 100644 (file)
@@ -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)
-