Use ${MAKE} -C instead of explicit cd in subshell.
authorMike Taylor <mike@indexdata.com>
Thu, 12 Dec 2013 16:49:23 +0000 (16:49 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 12 Dec 2013 16:49:23 +0000 (16:49 +0000)
Makefile

index 26c0ca4..4729437 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # Copyright (c) 2013 IndexData ApS. http://indexdata.com
 
 **default**:
-       (cd tools/htdocs; $(MAKE))
+       ${MAKE} -C./tools/htdocs $@
 
 clean distclean all pz2api-git-checkout:
        ${MAKE} -C./tools/htdocs $@