aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-02-24 22:13:40 -0500
committerKyle Meyer <kyle@kyleam.com>2021-02-24 22:13:40 -0500
commit82dec3de509b1080097ab378ae88172fe521e9cd (patch)
tree37e74b9514092d1408dd52d3f94d95d7081363b6 /Makefile
parent49ca9535d1eab05afbe5d1a67ae841c77bfb16a1 (diff)
downloadpiem-82dec3de509b1080097ab378ae88172fe521e9cd.tar.gz
manual: Move under Documentation/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index a139d1a..5c65ed9 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ EL = piem.el piem-b4.el piem-elfeed.el piem-eww.el piem-gnus.el \
tests/piem-tests.el
ELC = $(EL:.el=.elc)
-all: compile piem.info piem-autoloads.el
+all: compile Documentation/piem.info piem-autoloads.el
compile: $(ELC)
@@ -22,12 +22,14 @@ piem-autoloads.el: $(EL)
'(package-generate-autoloads "piem" default-directory)'
clean:
- rm -f piem.info piem.html piem-autoloads.el $(ELC)
+ rm -f Documentation/piem.info Documentation/piem.html piem-autoloads.el
+ rm -f $(ELC)
rm -rf html/
-docs: piem.html piem.info
- rm -rf html/
- makeinfo --html --css-ref=../manual.css -o html/ -c TOP_NODE_UP_URL=/ piem.texi
+docs: Documentation/piem.html Documentation/piem.info
+ rm -rf Documentation/html/
+ makeinfo --html --css-ref=../manual.css -o Documentation/html/ \
+ -c TOP_NODE_UP_URL=/ Documentation/piem.texi
piem-b4.elc: piem-b4.el piem.elc
piem-elfeed.elc: piem-elfeed.el piem.elc
@@ -44,7 +46,8 @@ tests/piem-tests.elc: tests/piem-tests.el piem.elc
$(BATCH) -f batch-byte-compile $<
.texi.info:
- makeinfo $<
+ makeinfo -o $@ $<
.texi.html:
- makeinfo --html --css-ref=manual.css -c TOP_NODE_UP_URL=/ --no-split $<
+ makeinfo --html --css-ref=manual.css -c TOP_NODE_UP_URL=/ --no-split \
+ -o $@ $<