Makefile uses 'make' recursively rather than $(MAKE)

Bug #1536548 reported by Seth Arnold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
New
Undecided
Unassigned

Bug Description

http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/view/head:/Makefile#L42
https://www.gnu.org/software/make/manual/html_node/Recursion.html
https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html#MAKE-Variable

.PHONY: tarball
tarball: clean
 REPO_VERSION=`$(value REPO_VERSION_CMD)` ; \
 make export_dir __EXPORT_DIR=${RELEASE_DIR} __REPO_VERSION=$${REPO_VERSION} ; \
 make setup __SETUP_DIR=${RELEASE_DIR} ; \
 tar ${TAR_EXCLUSIONS} -cvzf ${RELEASE_DIR}.tar.gz ${RELEASE_DIR}
...

the "make export_dir" and so on should be $(MAKE) export_dir to use the job scheduling, -t -n -q options, and a specific 'make' path if one is used.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.