- $(dist_ukdoc_DATA)
-
-DEPENDFILE = $(srcdir)/Makefile.depend
-# include $(DEPENDFILE) does not work because automake is too limited.
-include $(srcdir)/Makefile.depend
-
-TOCs : $(DEPENDFILE) $(tocfiles)
- @echo Made TOCs succesfully.
-
-# Force regeneration of $(DEPENDFILE) when Makefile.am changes because
-# new doc files might have been added
-$(DEPENDFILE): $(srcdir)/Makefile.am $(srcdir)/depend.py
- python $(srcdir)/depend.py > $(DEPENDFILE)
-
-# The TOCs are not built for the install and dist targets if they don't exist
-# for some weird reason.
-# Make complains although we have rules for them in $(DEPENDFILE), so we
-# must not include the TOCs in $(docfiles) and have to use the install and
-# dist hooks below.
-dist-hook: $(tocfiles)
- for i in $(tocfiles); \
- do \
- if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
- else file="$$i"; fi; \
- cp -p "$$file" "$(distdir)"; \
- done
-install-data-hook: $(tocfiles)
- for i in $(tocfiles); \
- do \
- if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
- else file="$$i"; fi; \
- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
- done