Combine the cd and the make on one lien for the checkapi rules;
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 2 Jul 2008 01:53:29 +0000 (01:53 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 2 Jul 2008 01:53:29 +0000 (01:53 +0000)
otherwise, the cd runs independently of the make, and the make runs in
the current directory and thus runs another "make checkapi" (forkbomb
los!).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25657 f5534014-38df-0310-8fa8-9805f1628bb7

Makefile.am

index be4acf4b047debe14a5826d34e50a3c24979455b..5ee94b79280c8ba72cd6d5816c6c993e0d8684d6 100644 (file)
@@ -993,26 +993,14 @@ checkapi_local:
 #      $(EXTRA_wireshark_SOURCES)
 
 checkapi: checkapi_local
-       cd wiretap
-       $(MAKE) checkapi
-       cd ../codecs
-       $(MAKE) checkapi
-       cd ../gtk
-##     $(MAKE) checkapi
-       cd ../epan
-##     $(MAKE) checkapi
-       cd ../epan/crypt
-##     $(MAKE) checkapi
-       cd ../dfilter
-       $(MAKE) checkapi
-       cd ../ftypes
-##     $(MAKE) checkapi
-       cd ../wslua
-##     $(MAKE) checkapi
-       cd ../dissectors
-       $(MAKE) checkapi
-       cd ..
-       cd ../plugins
-       $(MAKE) checkapi
-       cd ../wsutil
-       $(MAKE) checkapi
+       cd wiretap && $(MAKE) checkapi
+       cd ../codecs && $(MAKE) checkapi
+##     cd ../gtk && $(MAKE) checkapi
+##     cd ../epan && $(MAKE) checkapi
+##     cd ../epan/crypt && $(MAKE) checkapi
+       cd ../dfilter && $(MAKE) checkapi
+##     cd ../ftypes && $(MAKE) checkapi
+##     cd ../wslua && $(MAKE) checkapi
+       cd ../dissectors && $(MAKE) checkapi
+       cd ../../plugins && $(MAKE) checkapi
+       cd ../wsutil && $(MAKE) checkapi