1*69606e3fSchristos# -*-perl-*- 2*69606e3fSchristos 3*69606e3fSchristos$description = "The following test creates a makefile to test using \n" . 4*69606e3fSchristos "quotes within makefiles."; 5*69606e3fSchristos 6*69606e3fSchristosopen(MAKEFILE,"> $makefile"); 7*69606e3fSchristos 8*69606e3fSchristos# The Contents of the MAKEFILE ... 9*69606e3fSchristos 10*69606e3fSchristosprint MAKEFILE <<'EOM'; 11*69606e3fSchristosSHELL = /bin/sh 12*69606e3fSchristosTEXFONTS = NICEFONT 13*69606e3fSchristosDEFINES = -DDEFAULT_TFM_PATH=\".:$(TEXFONTS)\" 14*69606e3fSchristostest: ; @"echo" 'DEFINES = $(DEFINES)' 15*69606e3fSchristosEOM 16*69606e3fSchristos 17*69606e3fSchristos# END of Contents of MAKEFILE 18*69606e3fSchristos 19*69606e3fSchristosclose(MAKEFILE); 20*69606e3fSchristos 21*69606e3fSchristos 22*69606e3fSchristos&run_make_with_options($makefile,"",&get_logfile); 23*69606e3fSchristos 24*69606e3fSchristos 25*69606e3fSchristos# Create the answer to what should be produced by this Makefile 26*69606e3fSchristos$answer = 'DEFINES = -DDEFAULT_TFM_PATH=\".:NICEFONT\"' . "\n"; 27*69606e3fSchristos 28*69606e3fSchristos# COMPARE RESULTS 29*69606e3fSchristos 30*69606e3fSchristos&compare_output($answer,&get_logfile(1)); 31*69606e3fSchristos 32*69606e3fSchristos1; 33