diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-08-16 14:02:58 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-08-16 14:02:58 -0700 |
commit | 9db1ba0a8911635438002b13c7d435f5c1bcb1d6 (patch) | |
tree | 22ab399f638324b677485faf6927ac81725e3d39 /plugins | |
parent | 12cf9d6e64630a1e6f1fa80263bd93eff7b910ce (diff) | |
download | connman-9db1ba0a8911635438002b13c7d435f5c1bcb1d6.tar.gz connman-9db1ba0a8911635438002b13c7d435f5c1bcb1d6.tar.bz2 connman-9db1ba0a8911635438002b13c7d435f5c1bcb1d6.zip |
Use $(AM_V_GEN) for custom rules
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Makefile.am | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 4cb8c934..d9e5f971 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -221,14 +221,16 @@ EXTRA_DIST = polkit.policy MAINTAINERCLEANFILES = Makefile.in builtin.h: - echo "" > $@ - list='$(builtin_modules)'; for i in $$list; \ + @echo "" > $@ + $(AM_V_GEN)list='$(builtin_modules)'; for i in $$list; \ do echo "extern struct connman_plugin_desc __connman_builtin_$$i;" >> $@; done - echo "" >> $@ - echo "static struct connman_plugin_desc *__connman_builtin[] = {" >> $@ - list='$(builtin_modules)'; for i in $$list; \ + @echo "" >> $@ + @echo "static struct connman_plugin_desc *__connman_builtin[] = {" >> $@ + @list='$(builtin_modules)'; for i in $$list; \ do echo "&__connman_builtin_$$i," >> $@; done - echo "NULL };" >> $@ + @echo "NULL };" >> $@ connman.policy: polkit.policy - cp $< $@ +if POLKIT + $(AM_V_GEN)cp $< $@ +endif |