Skip to content

Commit 946fb4b

Browse files
committed
Fix up some bits of the Makefiles
1 parent 5085b9c commit 946fb4b

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

Makefile

+8-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,14 @@ DEB_SOURCES:=debian/changelog \
4242
$(wildcard debian/*.docs) \
4343
$(wildcard debian/*.doc-base) \
4444
$(wildcard debian/*.desktop)
45-
DOC_SOURCES:=
45+
DOC_SOURCES:=docs/conf.py \
46+
$(wildcard docs/*.png) \
47+
$(wildcard docs/*.svg) \
48+
$(wildcard docs/*.dot) \
49+
$(wildcard docs/*.mscgen) \
50+
$(wildcard docs/*.gpi) \
51+
$(wildcard docs/*.rst) \
52+
$(wildcard docs/*.pdf)
4653
SUBDIRS:=
4754

4855
# Calculate the name of all outputs
@@ -168,4 +175,3 @@ release: $(DIST_DEB) $(DIST_DSC) $(DIST_TAR) $(DIST_WHEEL)
168175
dput raspberrypi dist/$(NAME)_$(VER)$(DEB_SUFFIX)_$(DEB_ARCH).changes
169176

170177
.PHONY: all install develop test doc source egg wheel zip tar deb dist clean tags release upload $(SUBDIRS)
171-

docs/Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,17 @@ qthelp:
8989
@echo
9090
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
9191
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
92-
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/picraft.qhcp"
92+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/gpiozero.qhcp"
9393
@echo "To view the help file:"
94-
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/picraft.qhc"
94+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/gpiozero.qhc"
9595

9696
devhelp:
9797
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
9898
@echo
9999
@echo "Build finished."
100100
@echo "To view the help file:"
101-
@echo "# mkdir -p $$HOME/.local/share/devhelp/picraft"
102-
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/picraft"
101+
@echo "# mkdir -p $$HOME/.local/share/devhelp/gpiozero"
102+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/gpiozero"
103103
@echo "# devhelp"
104104

105105
epub:

0 commit comments

Comments
 (0)