waf: do not distribute GNU global tag files

This commit is contained in:
Nedko Arnaudov 2010-09-06 16:12:23 +03:00
parent b78b580ef6
commit 2008ba8f7d
1 changed files with 3 additions and 1 deletions

View File

@ -490,7 +490,9 @@ def etags(ctx):
os.system("stat -c '%y' TAGS")
def dist_hook():
os.remove(".gitmodules") # waf does not ignore this file
nodist_files = ['.gitmodules', 'GTAGS', 'GRTAGS', 'GPATH', 'GSYMS'] # waf does not ignore these file
for nodist_file in nodist_files:
os.remove(nodist_file)
shutil.copy('../build/default/version.h', "./")
import commands