Employ single quotes in shell command argument to avoid escaping double 
quotes.

=== modified file 'Makefile.am'
--- Makefile.am 2010-08-20 14:14:41 +0000
+++ Makefile.am 2010-08-20 14:18:57 +0000
@@ -247,7 +247,7 @@
 # when creating specific objects that may depend on version.h directly.
 BUILT_SOURCES = version.h
 $(srcdir)/version.h: $(wildcard $(srcdir)/.bzr/branch/last-revision)
-       bzr version-info $(srcdir) --custom --template="#define BZR_REVISION 
\"{revno}\"\n#define BZR_DATE \"{date}\"\n#define BZR_BRANCH 
\"{branch_nick}\"\n" > $@
+       bzr version-info $(srcdir) --custom --template='#define BZR_REVISION 
"{revno}"\n#define BZR_DATE "{date}"\n#define BZR_BRANCH "{branch_nick}"\n' > $@
 
 
 # The complete doc/ subdirectory is in EXTRA_DIST, so files that should


_______________________________________________
Mailing list: https://launchpad.net/~hipl-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~hipl-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to