[PATCH libICE docs] Add top-level target for documentation.

Dan Nicholson dbn.lists at gmail.com
Tue Nov 23 11:21:18 PST 2010


On Mon, Nov 22, 2010 at 4:21 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> On Mon, 2010-11-22 at 17:26 -0500, Trevor Woerner wrote:
>
> -.PHONY: ChangeLog INSTALL
> +.PHONY: ChangeLog INSTALL documents
>
> I don't think it should be a PHONY target, "documents" is not a file.
> It's like the lint target.

That's the point. If you don't make it PHONY, make keeps looking for a
file called documents to show up. Since we know one will never be
there, we can tell make not to bother looking. Look at all the things
automake declares as PHONY.

.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
        all all-am am--refresh check check-am clean clean-generic \
        clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
        dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
        dist-zip distcheck distclean distclean-generic \
        distclean-libtool distclean-tags distcleancheck distdir \
        distuninstallcheck dvi dvi-am html html-am info info-am \
        install install-aclocalDATA install-am install-data \
        install-data-am install-dvi install-dvi-am install-exec \
        install-exec-am install-html install-html-am install-info \
        install-info-am install-man install-pdf install-pdf-am \
        install-pkgconfigDATA install-ps install-ps-am install-strip \
        installcheck installcheck-am installdirs installdirs-am \
        maintainer-clean maintainer-clean-generic mostlyclean \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags tags-recursive uninstall uninstall-aclocalDATA \
        uninstall-am uninstall-pkgconfigDATA

--
Dan


More information about the xorg-devel mailing list