diff options
author | Andreas Beckmann <anbe@debian.org> | 2014-05-23 17:13:08 +0200 |
---|---|---|
committer | Andreas Beckmann <anbe@debian.org> | 2014-05-23 17:13:26 +0200 |
commit | 77c05465ae593a9a5d8de9b4cc9ca99bdc9eea5b (patch) | |
tree | 504fb358c657fac7e4a2d1affd0e8a62ecf5cc6f | |
parent | 8049005dc6d9ec3ffec9b2b25b611de0b71ac9e2 (diff) | |
download | sendmail-77c05465ae593a9a5d8de9b4cc9ca99bdc9eea5b.tar.gz |
avoid forking subshells
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules index 99b92ca..89c4cb4 100755 --- a/debian/rules +++ b/debian/rules @@ -158,7 +158,6 @@ refresh-debian-configure: .PHONY: clean-debian clean-debian:: @echo 'cleaning debian directory...'; - #-(cd debian && $(MAKE) -f Makefile maintainer-clean;) #-(cd debian && $(MAKE) -f Makefile distclean;) find debian -name '*~' -o -name '\.*\.swp' \ | xargs -r $(RM); @@ -248,7 +247,7 @@ clean:: # # Local stuff -if [ -f debian/Makefile ]; then \ - (cd debian && $(MAKE) -f Makefile clean maintainer-clean;) \ + $(MAKE) -C debian -f Makefile clean maintainer-clean; \ fi; # Debian stuff $(RM) -r ${_cdbs_tarball_dir}; @@ -271,9 +270,9 @@ common-build-indep:: # build-indep: # # sendmail operations guide - (cd ${DEB_SRCDIR}/doc/op/ && GROFF_NO_SGR=1 make op.txt); + GROFF_NO_SGR=1 $(MAKE) -C ${DEB_SRCDIR}/doc/op/ op.txt # Debian stuff - (cd debian && $(MAKE) -f Makefile build-indep;) + $(MAKE) -C debian -f Makefile build-indep #-------------------------------------------------------------------- @@ -328,7 +327,7 @@ common-build-arch:: fi; \ done; # Debian stuff - (cd debian && $(MAKE) -f Makefile build-arch;) + $(MAKE) -C debian -f Makefile build-arch # Remove our config m4 files $(RM) ${DEB_SRCDIR}/devtools/Site/site.config.m4; #-------------------------------------------------------------------- |