diff options
author | van <[email protected]> | 2008-05-31 18:58:06 +0000 |
---|---|---|
committer | van <[email protected]> | 2008-05-31 18:58:06 +0000 |
commit | 890b0daa6ef97053e5ba271e300fc1b26dc8dfd8 (patch) | |
tree | 9b256321042476dd25ed7bff7def6283c0727250 /libhb | |
parent | afbd06d8d6151b69bbb18adf83cfab8d680c3946 (diff) |
Fix for cygwin builds - can't use "\n" in echo
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1481 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/Jamfile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libhb/Jamfile b/libhb/Jamfile index 7bfb57e55..5352265b5 100644 --- a/libhb/Jamfile +++ b/libhb/Jamfile @@ -27,8 +27,14 @@ rule HBVersion } actions HBVersion { - echo "#ifndef HB_BUILD\n#define HB_BUILD $(HB_BUILD)\n#endif" > $(TOP)/libhb/$(1) - echo "#ifndef HB_VERSION\n#define HB_VERSION \"$(HB_VERSION)\"\n#endif" >> $(TOP)/libhb/$(1) - echo "#ifndef HB_APPCAST_URL\n#define APPCAST_URL \"$(APPCAST_URL)\"\n#endif" >> $(TOP)/libhb/$(1) + echo "#ifndef HB_BUILD" > $(TOP)/libhb/$(1) + echo "#define HB_BUILD $(HB_BUILD)" >> $(TOP)/libhb/$(1) + echo "#endif" >> $(TOP)/libhb/$(1) + echo "#ifndef HB_VERSION" >> $(TOP)/libhb/$(1) + echo "#define HB_VERSION \"$(HB_VERSION)\"" >> $(TOP)/libhb/$(1) + echo "#endif" >> $(TOP)/libhb/$(1) + echo "#ifndef HB_APPCAST_URL" >> $(TOP)/libhb/$(1) + echo "#define APPCAST_URL \"$(APPCAST_URL)\"" >> $(TOP)/libhb/$(1) + echo "#endif" >> $(TOP)/libhb/$(1) } HBVersion hbversion.h ; |