summaryrefslogtreecommitdiffstats
path: root/doc/rtems_gdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/rtems_gdb/Makefile')
-rw-r--r--doc/rtems_gdb/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/rtems_gdb/Makefile b/doc/rtems_gdb/Makefile
index b51f91af84..75ceb492c7 100644
--- a/doc/rtems_gdb/Makefile
+++ b/doc/rtems_gdb/Makefile
@@ -10,7 +10,7 @@ PROJECT=rtems_gdb
include ../Make.config
-all: html info ps
+all: html info ps pdf
dirs:
$(make-dirs)
@@ -33,6 +33,11 @@ $(PROJECT): $(FILES)
dvi: $(PROJECT).dvi
ps: dirs $(PROJECT).ps
+pdf: dirs $(PROJECT).pdf
+
+$(PROJECT).pdf: $(FILES)
+ $(TEXI2PDF) $(PROJECT).texi
+ cp $(PROJECT).pdf $(PDF_INSTALL)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
@@ -49,7 +54,7 @@ html: dirs $(FILES)
$(PROJECT).texi
clean:
- rm -f *.o $(PROG) *.txt core
+ rm -f *.o $(PROG) *.txt core *.pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
rm -f *.fixed _* network.t