aboutsummaryrefslogtreecommitdiff
path: root/share/templater/sphinx/setup
diff options
context:
space:
mode:
Diffstat (limited to 'share/templater/sphinx/setup')
-rwxr-xr-xshare/templater/sphinx/setup8
1 files changed, 1 insertions, 7 deletions
diff --git a/share/templater/sphinx/setup b/share/templater/sphinx/setup
index ec70c1e..b378ac3 100755
--- a/share/templater/sphinx/setup
+++ b/share/templater/sphinx/setup
@@ -19,13 +19,7 @@ function templater_sphinx {
cp $SHARE/sphinx/files/conf.py .
- if [ ! -e "Makefile" ]; then
- cp $SHARE/sphinx/files/Makefile .
- #elif ! grep -q sphinx Makefile; then
- # grep -v '^#' $SHARE/sphinx/files/Makefile >> Makefile
- else
- cp $SHARE/ikiwiki/files/Makefile Makefile.sphinx
- fi
+ __templater_install_makefile $SHARE/sphinx/files/Makefile.sphinx
if [ ! -d "_static" ]; then
cp -r $SHARE/sphinx/files/_static .