]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Change extension of AsciiDoc files to .adoc
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 1 Mar 2018 20:20:05 +0000 (21:20 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 1 Mar 2018 20:25:48 +0000 (21:25 +0100)
This should make them nicely rendered in the GitHub file tree.

LICENSE.adoc [moved from LICENSE.txt with 99% similarity]
dev.mk.in
doc/AUTHORS.adoc [moved from doc/AUTHORS.txt with 100% similarity]
doc/MANUAL.adoc [moved from doc/MANUAL.txt with 100% similarity]
doc/NEWS.adoc [moved from doc/NEWS.txt with 100% similarity]
src/ccache.c

similarity index 99%
rename from LICENSE.txt
rename to LICENSE.adoc
index 73a45222558e7e01799719a4f142c680cf9f9a70..ed0d9c688f4c4dc964c8c31fefb24594fe1788b4 100644 (file)
@@ -29,7 +29,7 @@ Copyright and authors
 ---------------------
 
 ccache is a collective work with contributions from many people, listed in
-AUTHORS.txt and at https://ccache.samba.org/authors.html. Subsequent additions
+AUTHORS.adoc and at https://ccache.samba.org/authors.html. Subsequent additions
 by contributing authors are implicitly licensed to the public under the same
 terms (GNU GPL version 3 or later), but the contributing authors retain
 copyrights on their portions of the work.
index 07e8b6bd97ea685c24eba7387fe707532ed6dfda..24ea01d9eafcdb74f1f7460f3c43c05d8ccf18b0 100644 (file)
--- a/dev.mk.in
+++ b/dev.mk.in
@@ -60,7 +60,7 @@ source_dist_files = \
     $(test_sources) \
     CONTRIBUTING.md \
     GPL-3.0.txt \
-    LICENSE.txt \
+    LICENSE.adoc \
     Makefile.in \
     README.md \
     autogen.sh \
@@ -70,9 +70,9 @@ source_dist_files = \
     configure \
     configure.ac \
     dev.mk.in \
-    doc/AUTHORS.txt \
-    doc/MANUAL.txt \
-    doc/NEWS.txt \
+    doc/AUTHORS.adoc \
+    doc/MANUAL.adoc \
+    doc/NEWS.adoc \
     install-sh \
     m4 \
     src/confitems.gperf \
@@ -151,10 +151,10 @@ distcheck: $(firstword $(dist_archives))
 .PHONY: docs
 docs: $(generated_docs)
 
-%.html: %.txt
+%.html: %.adoc
        $(ASCIIDOC) -a revnumber=$(version) -a toc -b xhtml11 $<
 
-%.xml: %.txt
+%.xml: %.adoc
        $(ASCIIDOC) -a revnumber=$(version) -d manpage -b docbook $<
 
 ccache.1: doc/MANUAL.xml
@@ -164,7 +164,7 @@ ccache.1: doc/MANUAL.xml
 update-authors:
        git log --pretty=format:"* %aN <%aE>" \
          | sort -u \
-         | perl -00 -p -i -e 's/^\*.*/<STDIN> . "\n"/es' doc/AUTHORS.txt
+         | perl -00 -p -i -e 's/^\*.*/<STDIN> . "\n"/es' doc/AUTHORS.adoc
 
 .PHONY: check-syntax
 check-syntax:
similarity index 100%
rename from doc/AUTHORS.txt
rename to doc/AUTHORS.adoc
similarity index 100%
rename from doc/MANUAL.txt
rename to doc/MANUAL.adoc
similarity index 100%
rename from doc/NEWS.txt
rename to doc/NEWS.adoc
index 9503174148422230ce685f1b23548f259243c98d..860929cb3a410228ae80448e0873f7d212d6c62e 100644 (file)
@@ -618,7 +618,7 @@ remember_include_file(char *path, struct mdfour *cpp_hash, bool system)
 
        // The comparison using >= is intentional, due to a possible race between
        // starting compilation and writing the include file. See also the notes
-       // under "Performance" in MANUAL.txt.
+       // under "Performance" in doc/MANUAL.adoc.
        if (!(conf->sloppiness & SLOPPY_INCLUDE_FILE_MTIME)
            && st.st_mtime >= time_of_compilation) {
                cc_log("Include file %s too new", path);