unifont-6.3.20140202.tar.gz
[unifont.git] / doc / Makefile
index b68a539dc954651d2a4472f57b6bdc9ba25f878f..0bbd27ff904945fde7b57a7457b8f2497d84685d 100644 (file)
@@ -16,7 +16,7 @@ OUTPUT_FILES = unifont.info unifont.txt unifont.pdf
        $(MAKEINFO) --plaintext $< -o $@
 
 .texi.pdf:
-       $(TEXI2PDF) $< > $@
+       $(TEXI2PDF) $<
 
 #
 # Comment out the "all:" line to make the documents.  The default is
@@ -24,6 +24,12 @@ OUTPUT_FILES = unifont.info unifont.txt unifont.pdf
 # in case the target system doesn't have makeinfo and texi2pdf installed.
 #
 all:
+#
+# Type "make docprep" before typing "make doc".
+#
+docprep:
+       \rm -f unifont.info unifont.txt unifont.pdf
+
 doc: $(OUTPUT_FILES)
 
 install: