1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
|
pslib.3: pslib.sgml
docbook2man $<
mv PSLIB.3 pslib.3
#%.3: %.sgml
.sgml.3:
docbook-to-man $< > $@
#%.html: %.sgml
.sgml.html:
docbook2html $<
mv index.html $@
distclean: clean
summary:
@for i in $(SGML_FILES); do \
echo -n "$${i%%.sgml} - "; \
cat head.xml > $${i%%.sgml}.xml; \
tail +18 $$i >> $${i%%.sgml}.xml; \
xsltproc --nonet --novalid extractdesc.xsl $${i%%.sgml}.xml; \
echo ""; \
rm $${i%%.sgml}.xml; \
done
clean:
rm -f ${man_MANS} $(SGML_FILES:.sgml=.html) pslib.html manpage.links manpage.refs
SGML_FILES = \
PS_add_bookmark.sgml \
PS_add_kerning.sgml \
PS_add_launchlink.sgml \
PS_add_ligature.sgml \
PS_add_locallink.sgml \
PS_add_note.sgml \
PS_add_pdflink.sgml \
PS_add_weblink.sgml \
PS_arc.sgml \
PS_arcn.sgml \
PS_begin_font.sgml \
PS_begin_glyph.sgml \
PS_begin_page.sgml \
PS_begin_pattern.sgml \
PS_begin_template.sgml \
PS_boot.sgml \
PS_circle.sgml \
PS_clip.sgml \
PS_closepath_stroke.sgml \
PS_closepath.sgml \
PS_close.sgml \
PS_close_image.sgml \
PS_continue_text2.sgml \
PS_continue_text.sgml \
PS_create_gstate.sgml \
PS_curveto.sgml \
PS_delete.sgml \
PS_end_font.sgml \
PS_end_glyph.sgml \
PS_end_page.sgml \
PS_end_pattern.sgml \
PS_end_template.sgml \
PS_fill.sgml \
PS_fill_stroke.sgml \
PS_findfont.sgml \
PS_free_glyph_list.sgml \
PS_glyph_list.sgml \
PS_glyph_show.sgml \
PS_get_buffer.sgml \
PS_get_majorversion.sgml \
PS_get_minorversion.sgml \
PS_get_opaque.sgml \
PS_get_parameter.sgml \
PS_get_subminorversion.sgml \
PS_get_value.sgml \
PS_hyphenate.sgml \
PS_include_file.sgml \
PS_lineto.sgml \
PS_list_parameters.sgml \
PS_list_resources.sgml \
PS_list_values.sgml \
PS_makespotcolor.sgml \
PS_moveto.sgml \
PS_new2.sgml \
PS_new.sgml \
PS_open_file.sgml \
PS_open_fp.sgml \
PS_open_image.sgml \
PS_open_image_file.sgml \
PS_open_mem.sgml \
PS_place_image.sgml \
PS_rect.sgml \
PS_restore.sgml \
PS_rotate.sgml \
PS_save.sgml \
PS_scale.sgml \
PS_setcolor.sgml \
PS_setdash.sgml \
PS_setflat.sgml \
PS_setfont.sgml \
PS_setgray.sgml \
PS_set_info.sgml \
PS_setlinecap.sgml \
PS_setlinejoin.sgml \
PS_setlinewidth.sgml \
PS_setmiterlimit.sgml \
PS_setpolydash.sgml \
PS_set_border_color.sgml \
PS_set_border_dash.sgml \
PS_set_border_style.sgml \
PS_set_gstate.sgml \
PS_set_parameter.sgml \
PS_set_text_pos.sgml \
PS_set_value.sgml \
PS_shading.sgml \
PS_shading_pattern.sgml \
PS_shfill.sgml \
PS_show2.sgml \
PS_show_boxed.sgml \
PS_show.sgml \
PS_show_xy2.sgml \
PS_show_xy.sgml \
PS_shutdown.sgml \
PS_string_geometry.sgml \
PS_stringwidth2.sgml \
PS_stringwidth.sgml \
PS_stroke.sgml \
PS_symbol.sgml \
PS_symbol_name.sgml \
PS_symbol_width.sgml \
PS_translate.sgml
EXTRA_DIST = ${SGML_FILES} PS_template.sgml pslib.sgml extractdesc.xsl
man_MANS = $(SGML_FILES:.sgml=.3) pslib.3
html: $(SGML_FILES:.sgml=.html) pslib.html
.PHONY: html
|