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
# 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
+