Minor fix.
[yaz-moved-to-github.git] / doc / Makefile
index 03003cc..d3efb27 100644 (file)
@@ -1,13 +1,16 @@
-SGMLF=sgml-format
-SGMLR=sgml-roff
-SGMLT=sgml-tex
-
-all: yaz.ps yaz.txt
+all: yaz.ps yaz.txt profiles.txt profiles.ps
 
 yaz.txt: yaz.sgml
-       rm -f yaz.txt
-       $(SGMLF) -Tnroff yaz.sgml | $(SGMLR) | sed -e 's/       /        /g' > yaz.txt
+       sgml2txt yaz.sgml
+
+profiles.txt: profiles.sgml
+       sgml2txt profiles.sgml
 
 yaz.ps: yaz.sgml
-       $(SGMLF) yaz.sgml | $(SGMLT) -x
-       mv out.ps yaz.ps
+       sgml2ps yaz.sgml
+
+profiles.ps: profiles.sgml
+       sgml2ps profiles.sgml
+
+yaz.html: yaz.sgml
+       sgml2html yaz.sgml