Store doc/readme and doc/news in git master
authorIustin Pop <iustin@k1024.org>
Sun, 6 Dec 2020 14:04:25 +0000 (15:04 +0100)
committerIustin Pop <iustin@k1024.org>
Sun, 6 Dec 2020 14:04:25 +0000 (15:04 +0100)
… instead of always re-creating them. This is in an attempt to make
readthedocs work, since it can't run builds, I think.

Makefile
doc/news.rst [new symlink]
doc/readme.md [new symlink]

index 979f428..a032e2a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,12 +23,6 @@ $(DOCHTML)/index.html: $(MODNAME) $(RSTFILES) acl.c
 
 doc: $(DOCHTML)/index.html
 
-doc/readme.md: README.md
-       ln -s ../README.md doc/readme.md
-
-doc/news.rst: NEWS
-       ln -s ../NEWS doc/news.rst
-
 dist:
        fakeroot $(PYTHON) ./setup.py sdist
 
@@ -76,7 +70,6 @@ coverage:
 
 clean:
        rm -rf $(DOCHTML) $(DOCTREES)
-       rm -f doc/readme.md doc/news.rst
        rm -f $(MODNAME)
        rm -f *.so
        rm -rf build
diff --git a/doc/news.rst b/doc/news.rst
new file mode 120000 (symlink)
index 0000000..0fae0f8
--- /dev/null
@@ -0,0 +1 @@
+../NEWS
\ No newline at end of file
diff --git a/doc/readme.md b/doc/readme.md
new file mode 120000 (symlink)
index 0000000..32d46ee
--- /dev/null
@@ -0,0 +1 @@
+../README.md
\ No newline at end of file