From 64594f296ca84c487e5cd7ec5e76153cb3b3ef4a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Apr 2010 11:25:20 +1000 Subject: s4-waf: replace TOUCH_FILE() with normal install rules this allows it to work with 'waf uninstall' --- buildtools/wafsamba/samba_utils.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'buildtools/wafsamba/samba_utils.py') diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py index fc23aa4f64..8a8a7e3975 100644 --- a/buildtools/wafsamba/samba_utils.py +++ b/buildtools/wafsamba/samba_utils.py @@ -409,19 +409,6 @@ def IS_NEWER(bld, file1, file2): Build.BuildContext.IS_NEWER = IS_NEWER -def TOUCH_FILE(file, install_dir=False): - '''touch a file''' - if install_dir: - if file[0] == '/': - file = Options.options.destdir + file - else: - file = Options.options.destdir + '/' + file - mkdir_p(os.path.dirname(file)) - f = open(file, 'w') - f.close() - - - @conf def RECURSE(ctx, directory): '''recurse into a directory, relative to the curdir or top level''' -- cgit