]> sigrok.org Git - sigrok-util.git/commitdiff
new-driver: Cosmetics.
authorUwe Hermann <redacted>
Thu, 9 Jun 2016 06:41:56 +0000 (08:41 +0200)
committerUwe Hermann <redacted>
Thu, 9 Jun 2016 10:56:55 +0000 (12:56 +0200)
Restore the same order for files and the same tab-indentation that used
to be used before the recent patches for consistency reasons.

source/new-driver

index 1f8f91da336ad7346734121be87b0f8943aee908..e14b82056b24325987eacc72fb2dbec44e67360c 100755 (executable)
@@ -29,12 +29,12 @@ import datetime
 
 TMPL_AUTOCONF_DRIVER = "SR_DRIVER([{name}], [{short}])\n"
 
 
 TMPL_AUTOCONF_DRIVER = "SR_DRIVER([{name}], [{short}])\n"
 
-TMPL_FILES = ('api.c', 'protocol.c', 'protocol.h')
+TMPL_FILES = ('protocol.h', 'protocol.c', 'api.c')
 
 TMPL_HWMAKE_DRIVERLIB = """if HW_{upper}
 libsigrok_la_SOURCES +="""
 for tmpl_file in TMPL_FILES:
 
 TMPL_HWMAKE_DRIVERLIB = """if HW_{upper}
 libsigrok_la_SOURCES +="""
 for tmpl_file in TMPL_FILES:
-    TMPL_HWMAKE_DRIVERLIB += " \\\nsrc/hardware/{short}/" + tmpl_file
+    TMPL_HWMAKE_DRIVERLIB += " \\\n\tsrc/hardware/{short}/" + tmpl_file
 TMPL_HWMAKE_DRIVERLIB += "\nendif\n"
 
 
 TMPL_HWMAKE_DRIVERLIB += "\nendif\n"