2000-06-21 18:18:00 +00:00
|
|
|
.PHONY: htmldir textdir faq
|
|
|
|
|
|
|
|
FAQ_FILES=html/gtkfaq.html \
|
|
|
|
html/gtkfaq-1.html \
|
|
|
|
html/gtkfaq-2.html \
|
|
|
|
html/gtkfaq-3.html \
|
|
|
|
html/gtkfaq-4.html \
|
|
|
|
html/gtkfaq-5.html \
|
|
|
|
html/gtkfaq-6.html \
|
|
|
|
html/gtkfaq-7.html \
|
|
|
|
text/gtkfaq.txt
|
|
|
|
|
|
|
|
$(FAQ_FILES): faq
|
|
|
|
|
|
|
|
htmldir:
|
|
|
|
mkdir -p $(srcdir)/html
|
|
|
|
|
|
|
|
textdir:
|
|
|
|
mkdir -p $(srcdir)/text
|
|
|
|
|
|
|
|
faq: htmldir textdir
|
|
|
|
(cd $(srcdir); sgml2html gtkfaq.sgml; \
|
|
|
|
perl $(top_srcdir)/docs/gtkdocs_fix gtkfaq*html; \
|
|
|
|
mv gtkfaq*html html/; \
|
|
|
|
sgml2txt gtkfaq.sgml; \
|
|
|
|
mv gtkfaq.txt text/)
|
|
|
|
|
2001-09-18 13:26:52 +00:00
|
|
|
EXTRA_DIST = gtkfaq.sgml gtk-faq.sgml
|
2000-06-21 18:18:00 +00:00
|
|
|
|
|
|
|
if HAVE_SGML2HTML
|
|
|
|
dist-hook: faq
|
|
|
|
mkdir $(distdir)/html
|
|
|
|
cp -p $(srcdir)/html/*.html $(distdir)/html
|
|
|
|
mkdir $(distdir)/text
|
|
|
|
cp -p $(srcdir)/text/*.txt $(distdir)/text
|
|
|
|
else
|
|
|
|
dist-hook:
|
|
|
|
echo "***"
|
|
|
|
echo "*** Warning: FAQ not built"
|
|
|
|
echo "*** DISTRIBUTION IS INCOMPLETE"
|
|
|
|
echo "***"
|
|
|
|
endif
|