diff options
author | Bill Meier <wmeier@newsguy.com> | 2007-10-15 16:44:31 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2007-10-15 16:44:31 +0000 |
commit | 4644ce72634f90e866519faf0a06aca2f7adee12 (patch) | |
tree | b26932af780203d6402c6c7cdb73d06c148aff02 /plugins/Makefile.nmake | |
parent | e23dc22c4c48430a787cc1cda85d50d040573592 (diff) |
Fix Windows maintainer-clean/distclean/clean to recurse thru subdirs only once (instead of worst-case 1+2+3 times)
svn path=/trunk/; revision=23187
Diffstat (limited to 'plugins/Makefile.nmake')
-rw-r--r-- | plugins/Makefile.nmake | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/Makefile.nmake b/plugins/Makefile.nmake index 539f38fcba..567864cf66 100644 --- a/plugins/Makefile.nmake +++ b/plugins/Makefile.nmake @@ -175,8 +175,10 @@ wimaxasncp:: $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake cd .. -clean: +clean-local: rm -rf $(VERSION) + +clean: clean-local cd agentx $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean cd .. @@ -260,7 +262,9 @@ clean: cd .. if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake clean -distclean: clean +distclean-local: clean-local + +distclean: distclean-local cd agentx $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean cd .. @@ -344,7 +348,9 @@ distclean: clean cd .. if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake distclean -maintainer-clean: distclean +maintainer-clean-local: distclean-local + +maintainer-clean: maintainer-clean-local cd agentx $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean cd .. |