Add constants for fast path resume copying
[coreboot.git] / documentation / Makefile
index 264bc922a26c680f665774d225fedd5a401338b5..84ac0b58f14b1cea89e64a5047a3639a7e39c798 100644 (file)
@@ -31,7 +31,7 @@ else ifneq ($(strip $(CONVERT)),)
        convert $< $@
 endif
 
-LinuxBIOS-AMD64.toc: $(FIGS) LinuxBIOS-AMD64.tex 
+LinuxBIOS-AMD64.toc: $(FIGS) LinuxBIOS-AMD64.tex
        # 2 times to make sure we have a current toc.
        $(PDFLATEX) LinuxBIOS-AMD64.tex
        $(PDFLATEX) LinuxBIOS-AMD64.tex
@@ -44,29 +44,28 @@ Kconfig.pdf: Kconfig.tex mainboardkconfig.tex cpukconfig.tex socketfkconfig.tex
 
 # quick, somebody! make me a macro!
 mainboardkconfig.tex: ../src/mainboard/Kconfig
-       echo '\begin{verbatim}' > $@
+       cat beginverbatim.tex  > $@
        grep '^config' $< | awk '{print $2}'  >>$@
-       echo '\end{verbatim}' >> $@
+       cat endverbatim.tex  >> $@
 
 skconfig.tex: ../src/mainboard/amd/serengeti_cheetah/Kconfig
-       echo '\begin{verbatim}' > $@
+       cat beginverbatim.tex  > $@
        grep '^config' $< | awk '{print $2}'  >>$@
-       echo '\end{verbatim}' >> $@
+       cat endverbatim.tex  >> $@
 
 cpukconfig.tex: ../src/cpu/Kconfig
-       echo '\begin{verbatim}' > $@
+       cat beginverbatim.tex  > $@
        grep '^config' $< | awk '{print $2}'  >>$@
-       echo '\end{verbatim}' >> $@
+       cat endverbatim.tex  >> $@
 
 socketfkconfig.tex: ../src/cpu/amd/socket_F/Kconfig
-       echo '\begin{verbatim}' > $@
+       cat beginverbatim.tex  > $@
        grep '^config' $< | awk '{print $2}'  >>$@
-       echo '\end{verbatim}' >> $@
-
+       cat endverbatim.tex  >> $@
 
 clean:
-       rm -f *.aux *.idx *.log *.toc *.out $(FIGS) mainboardkconfig.tex
+       rm -f *.aux *.idx *.log *.toc *.out $(FIGS) mainboardkconfig.tex skconfig.tex cpukconfig.tex socketfkconfig.tex
 
 distclean: clean
-       rm -f LinuxBIOS-AMD64.pdf mainboardkconfig.tex
-       
+       rm -f LinuxBIOS-AMD64.pdf Kconfig.pdf
+