]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Regenerate test/suites.h on Makefile updates
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 16 Jul 2010 12:44:24 +0000 (14:44 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 16 Jul 2010 12:44:24 +0000 (14:44 +0200)
This will make the build system pick up addition/removal of test suites.

Makefile.in

index 8b7b783a62bdfd14449da4bc3aaddd6d47f10959..33d9f4480cb0c8d0ce30d4b492343c7c264d341c 100644 (file)
@@ -70,8 +70,8 @@ test/main$(EXEEXT): $(base_objs) $(test_objs)
 
 test/main.o: test/suites.h
 
-test/suites.h: $(test_suites)
-       sed -n 's/TEST_SUITE(\(.*\))/SUITE(\1)/p' $^ >$@
+test/suites.h: $(test_suites) Makefile
+       sed -n 's/TEST_SUITE(\(.*\))/SUITE(\1)/p' $(test_suites) >$@
 
 .PHONY: check
 check: test