]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.2
authorfred <fred>
Fri, 14 Aug 1998 09:11:21 +0000 (09:11 +0000)
committerfred <fred>
Fri, 14 Aug 1998 09:11:21 +0000 (09:11 +0000)
stepmake/bin/package-diff.py

index dfbbebc988e530b1afea9f9dbaabdf35e1bd51e7..2e361e453dea0731ad41f97931a85f39af340333 100644 (file)
@@ -54,7 +54,9 @@ def remove_automatic (dirnames):
        # urg, again?
        from flower import *
        files = files + multiple_find (pats, dirnames)
-
+       dirs = multiple_find (['out'], dirnames)
+       for d in dirs:
+               files = files + multiple_find (['*'], [d])
        for f in files:
                os.remove (f)
 
@@ -86,7 +88,7 @@ def remove_configure (dir):
 
 
 # ugh, how to get rid of .tex files generated by lily?
-pats = ['.dstreamrc', 'configure', '*.diff', '*.diff.gz', '*.lsm', '*.pyc', '*.spec', '*.txt']
+pats = ['configure', '*.diff', '*.diff.gz', '*.pyc',  '*.txt']
 
 header = 'Generated by %s using %s,\
 \nFrom = %s, To = %s\n\
@@ -106,7 +108,7 @@ def makediff (fromdir, todir, patch_name):
        from packagepython import *
 
        remove_automatic ([fromdir, todir])
-
+       
        # ugh
        remove_configure (fromdir)
        remove_configure (todir)