# ugh, how to get rid of .tex files generated by lily?
pats = ['configure', '*.diff', '*.diff.gz', '*.pyc', '*.txt']
-header = 'Generated by %s using %s,\
-\nFrom = %s, To = %s\n\
-\n\
-usage \n\
-\n\
- cd %s-source-dir; patch -E -p1 < %s\n\
-\n\
-Patches do not contain automatically generated files \n\
-or (urg) empty directories, \n\
-i.e., you should rerun autoconf, configure \n\
-and possibly make outdirs.\n\n'
+header = """Generated by %s using %s,
+From = %s, To = %s
+
+usage
+
+ cd %s-source-dir; patch -E -p1 < %s
+
+Patches do not contain automatically generated files
+or (urg) empty directories,
+i.e., you should rerun autoconf, configure """
+
def makediff (fromdir, todir, patch_name):