Lines Matching full:makefile
222 Makefile="""##
234 \t$(MAKE) Makefile
245 \ttest -f Makefile.am || rm -f test?.xml
254 Makefile = Makefile + "EXTRA_DIST =%s\n\n" % (EXTRA_DIST)
258 Makefile = Makefile + "check_PROGRAMS =%s\n\n" % (check_PROGRAMS)
260 Makefile = Makefile + "%s_SOURCES = %s.c\n\n" % (example, example)
261 Makefile = Makefile + "valgrind: \n\t$(MAKE) CHECKER='valgrind' tests\n\n"
262 Makefile = Makefile + "tests: $(check_PROGRAMS)\n"
263 …Makefile = Makefile + "\t@test -f Makefile.am || test -f test1.xml || $(LN_S) $(srcdir)/test?.xml …
264 Makefile = Makefile + "\t@(echo '## examples regression tests')\n"
265 Makefile = Makefile + "\t@(echo > .memdump)\n"
267 Makefile = Makefile + "\t@$(CHECKER) %s\n" % (test)
268 … Makefile = Makefile + '\t@grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0\n'
269 Makefile = Makefile + "\t@rm *.tmp\n"
271 old = open("Makefile.am", "r").read()
272 if old != Makefile:
273 n = open("Makefile.am", "w").write(Makefile)
274 print("Updated Makefile.am")
276 print("Failed to read or save Makefile.am")