forked from AuroraMiddleware/gtk
39440b43cd
Wed Jun 21 12:50:58 2000 Owen Taylor <otaylor@redhat.com> * docs/es/: Removed mistakenly added generated sgml * docs/{gdk.texi,gtk.texi,gdk.sgml} macros.texi texinfo.tex: Remove outdated info files. * docs/gtk_tut* docs/package_tutorial.sh docs/tutorial: Moved tutorial files into subdir * docs/gtkfaq.sgml docs/faq/gtkfaq.sgml: Move FAQ into subdir. * docs/man/gtk_button.pod: Remove. (contents will be integrated into gtk-reference button page.) * configure.in docs/Makefile.am docs/tutorial/Makefile.am docs/faq/Makefile.am: Adjust for new organization
43 lines
930 B
Makefile
43 lines
930 B
Makefile
.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/)
|
|
|
|
EXTRA_DIST += gtkfaq.sgml
|
|
|
|
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
|