… | |
… | |
47 | psion/Word_File.psi \ |
47 | psion/Word_File.psi \ |
48 | psion/Word_Status_Section.psi \ |
48 | psion/Word_Status_Section.psi \ |
49 | psion/Word_Styles_Section.psi \ |
49 | psion/Word_Styles_Section.psi \ |
50 | psion/World_Data_File.psi |
50 | psion/World_Data_File.psi |
51 | |
51 | |
52 | EXTRA_DIST=$(GENERATE) generate_ascii.sh generate_html.sh generate_html4.sh \ |
52 | EXTRA_DIST=$(GENERATE) generate_ascii.sh generate_xhtml.sh generate_html4.sh \ |
53 | generate_rtf.sh html_links.sh index_html.sh |
53 | html4_links.sh xhtml_links.sh index_html.sh |
54 | |
54 | |
55 | nobase_pkgdata_DATA=$(HTMLDOCFILES) $(HTML4DOCFILES) $(ASCIIDOCFILES) \ |
55 | nobase_pkgdata_DATA=$(XHTMLDOCFILES) $(HTML4DOCFILES) $(ASCIIDOCFILES) \ |
56 | $(RTFDOCFILES) $(PSIONFILES) |
56 | $(PSIONFILES) |
57 | |
57 | |
58 | all-local: .touch-html .touch-html4 .touch-ascii .touch-rtf |
58 | all-local: .touch-xhtml .touch-html4 .touch-ascii |
59 | |
59 | |
60 | PSIONFILES=$(GENERATE) |
60 | PSIONFILES=$(GENERATE) |
61 | |
61 | |
62 | .touch-html: $(GENERATE) |
62 | .touch-xhtml: $(GENERATE) |
63 | if HTMLDOCS |
63 | if XHTMLDOCS |
64 | rm -rf html |
64 | rm -rf xhtml |
65 | mkdir html |
65 | mkdir xhtml |
66 | ./generate_html.sh .. html $(GENERATE) |
66 | ./generate_xhtml.sh .. xhtml $(GENERATE) |
67 | touch .touch-html |
67 | touch .touch-xhtml |
68 | |
68 | |
69 | HTMLDOCFILES=$(patsubst %.psi,%.html,$(patsubst psion/%,html/%,$(GENERATE))) |
69 | XHTMLDOCFILES=$(patsubst %.psi,%.html,$(patsubst psion/%,xhtml/%,$(GENERATE))) |
70 | $(HTMLDOCFILES): .touch-html |
70 | $(XHTMLDOCFILES): .touch-xhtml |
71 | endif |
71 | endif |
72 | |
72 | |
73 | .touch-html4: $(GENERATE) |
73 | .touch-html4: $(GENERATE) |
74 | if HTML4DOCS |
74 | if HTML4DOCS |
75 | rm -rf html4 |
75 | rm -rf html4 |
… | |
… | |
90 | |
90 | |
91 | ASCIIDOCFILES=$(patsubst %.psi,%.ascii,$(patsubst psion/%,ascii/%,$(GENERATE))) |
91 | ASCIIDOCFILES=$(patsubst %.psi,%.ascii,$(patsubst psion/%,ascii/%,$(GENERATE))) |
92 | $(ASCIIDOCFILES): .touch-ascii |
92 | $(ASCIIDOCFILES): .touch-ascii |
93 | endif |
93 | endif |
94 | |
94 | |
95 | .touch-rtf: $(GENERATE) |
|
|
96 | if RTFDOCS |
|
|
97 | rm -rf rtf |
|
|
98 | mkdir rtf |
|
|
99 | ./generate_rtf.sh .. rtf $(GENERATE) |
|
|
100 | touch .touch-rtf |
|
|
101 | |
|
|
102 | RTFDOCFILES=$(patsubst %.psi,%.rtf,$(patsubst psion/%,rtf/%,$(GENERATE))) |
|
|
103 | $(RTFDOCFILES): .touch-rtf |
|
|
104 | endif |
|
|
105 | |
|
|
106 | clean-local: |
95 | clean-local: |
107 | rm -rf html html4 ascii rtf .touch-* |
96 | rm -rf xhtml html4 ascii .touch-* |