mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 08:40:08 +00:00
0204bd1cef
* Released 1.3.2 * NEWS: Updates for 1.3.2
43 lines
943 B
Makefile
43 lines
943 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 gtk-faq.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
|