[pitivi] configure: Use \t to specify the tab character



commit c5f535408de50e85b35cb718901fb4b0e04372c7
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Mon Oct 24 12:24:52 2016 +0200

    configure: Use \t to specify the tab character
    
    Reviewed-by: Thibault Saunier <tsaunier gnome org>
    Differential Revision: https://phabricator.freedesktop.org/D1423

 configure |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/configure b/configure
index 4843b3e..4a1fec4 100755
--- a/configure
+++ b/configure
@@ -10,20 +10,20 @@ PROJECTNAME = "Pitivi"
 
 ROOTDIR = os.path.abspath(os.path.dirname(__file__))
 MAKEFILE_TMPL = """all:
-%(tab)scd %(build_dir)s && %(ninja)s
+\tcd %(build_dir)s && %(ninja)s
 
 install:
-%(tab)scd %(build_dir)s && DESTDIR="${DESTDIR}" %(ninja)s install
+\tcd %(build_dir)s && DESTDIR="${DESTDIR}" %(ninja)s install
 
 check:
-%(tab)scd %(build_dir)s && %(ninja)s test
+\tcd %(build_dir)s && %(ninja)s test
 
 dist:
-%(tab)scd %(build_dir)s && %(ninja)s dist
+\tcd %(build_dir)s && %(ninja)s dist
 
 clean:
-%(tab)srm -Rf %(build_dir)s
-%(tab)srm Makefile
+\trm -Rf %(build_dir)s
+\trm Makefile
 """
 
 
@@ -84,8 +84,7 @@ def configure_meson():
     with open(os.path.join(ROOTDIR, "Makefile"), "w") as makefile:
         makefile.write(MAKEFILE_TMPL %
                        {"build_dir": build_dir,
-                        "ninja": ninja,
-                        "tab": "       "})
+                        "ninja": ninja})
 
 if __name__ == "__main__":
     configure_meson()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]