2001-01-09 23:54:19 +03:00
|
|
|
SUBDIRS = figs
|
|
|
|
|
2000-09-17 20:29:01 +04:00
|
|
|
gmc_helpdir = $(datadir)/gnome/help/gmc/C
|
|
|
|
|
|
|
|
gmc_help_DATA = index.html topic.dat
|
|
|
|
|
2001-05-20 09:05:07 +04:00
|
|
|
noinst_SCRIPTS = mkhtml
|
|
|
|
|
2000-09-17 20:29:01 +04:00
|
|
|
SGML_FILES = gmc.sgml
|
|
|
|
|
2001-01-09 23:54:19 +03:00
|
|
|
EXTRA_DIST = topic.dat $(SGML_FILES)
|
2000-09-17 20:29:01 +04:00
|
|
|
|
2000-09-23 11:10:14 +04:00
|
|
|
MOSTLYCLEANFILES = *.tex *.log *.aux
|
|
|
|
CLEANFILES = gmc.dvi gmc.ps gmc.pdf gmc.rtf
|
|
|
|
DISTCLEANFILES = gmc.sgm
|
|
|
|
|
2000-09-18 08:57:29 +04:00
|
|
|
$(srcdir)/index.html: @MAINT@ $(SGML_FILES)
|
2001-05-20 09:05:07 +04:00
|
|
|
@MAINT@ cd $(srcdir) && $(SHELL) $(srcdir)/mkhtml
|
2000-09-17 20:29:01 +04:00
|
|
|
|
|
|
|
dist-hook: $(srcdir)/index.html
|
2001-05-20 09:05:07 +04:00
|
|
|
cp $(srcdir)/*.html $(distdir)
|
2000-09-17 20:29:01 +04:00
|
|
|
|
|
|
|
install-data-local: $(srcdir)/index.html
|
2001-05-20 09:05:07 +04:00
|
|
|
for file in $(srcdir)/*.html; do \
|
2000-09-17 20:29:01 +04:00
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(gmc_helpdir) || exit 1; \
|
|
|
|
done
|
|
|
|
|
2000-09-18 08:57:29 +04:00
|
|
|
uninstall-local: $(srcdir)/index.html
|
|
|
|
rm -f $(DESTDIR)$(gmc_helpdir)/*.html
|
|
|
|
|
2000-09-17 20:29:01 +04:00
|
|
|
dvi-local: gmc.dvi
|
|
|
|
|
2000-09-23 11:10:14 +04:00
|
|
|
# "make distcheck" (automake-1.4a) requires that *.dvi are created in
|
|
|
|
# the build directory, since the source directory is read-only.
|
|
|
|
# However, db2dvi (docbook-3.1) doesn't allow redirecting the output.
|
|
|
|
# So let's copy gmc.sgml to a temp directory. Now *.dvi goes to ".",
|
|
|
|
# but *.rtf remains in "tmp", so let's try to copy it from "tmp" -
|
|
|
|
# maybe future versions of docbook will be more consistent.
|
2000-09-17 20:29:01 +04:00
|
|
|
gmc.dvi: $(srcdir)/gmc.sgml
|
2000-09-23 11:10:14 +04:00
|
|
|
mkdir tmpdvi
|
2001-05-20 09:05:07 +04:00
|
|
|
cp -f $(srcdir)/gmc.sgml tmpdvi
|
2000-09-23 11:10:14 +04:00
|
|
|
db2dvi tmpdvi/gmc.sgml
|
|
|
|
if test -f tmpdvi/gmc.dvi; then \
|
|
|
|
mv -f tmpdvi/gmc.dvi gmc.dvi; \
|
|
|
|
else :; fi
|
|
|
|
rm -rf tmpdvi
|
|
|
|
|
|
|
|
gmc.rtf: $(srcdir)/gmc.sgml
|
|
|
|
mkdir tmprtf
|
2001-05-20 09:05:07 +04:00
|
|
|
cp -f $(srcdir)/gmc.sgml tmprtf
|
2000-09-23 11:10:14 +04:00
|
|
|
db2rtf tmprtf/gmc.sgml
|
|
|
|
if test -f tmprtf/gmc.rtf; then \
|
|
|
|
mv -f tmprtf/gmc.rtf gmc.rtf; \
|
|
|
|
else :; fi
|
|
|
|
rm -rf tmprtf
|
2000-09-17 20:29:01 +04:00
|
|
|
|
2000-09-23 11:10:14 +04:00
|
|
|
# FIXME: for gmc.ps and gmc.pdf we also need to convert *.png to *.eps
|
|
|
|
gmc.ps: gmc.dvi
|
|
|
|
dvips gmc.dvi -o gmc.ps
|
2000-09-17 20:29:01 +04:00
|
|
|
|
2000-09-23 11:10:14 +04:00
|
|
|
gmc.pdf: gmc.dvi
|
|
|
|
dvipdf gmc.dvi gmc.pdf
|