------------------------------------------------------------
revno: 4905
committer: Diego Biurrun <[email protected]>
branch nick: trunk
timestamp: Fri 2010-08-20 16:14:41 +0200
message:
  Redirect the output of 'bzr version-info' to a file instead of using echo.
modified:
  Makefile.am


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'Makefile.am'
--- Makefile.am	2010-08-20 14:11:31 +0000
+++ Makefile.am	2010-08-20 14:14:41 +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)
-	echo "$$(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