summaryrefslogtreecommitdiff
path: root/net/dshell/files/patch-Makefile
blob: 9b35fbf56ddd7d0b292c042d02e1a40ce52483d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.orig	2019-05-22 22:16:29 UTC
+++ Makefile
@@ -6,7 +6,7 @@ dshell: rc initpy pydoc
 
 rc:
 	# Generating .dshellrc and dshell files
-	python $(PWD)/bin/generate-dshellrc.py $(PWD)
+	$(PYTHON_CMD) $(PWD)/bin/generate-dshellrc.py $(PWD)
 	chmod 755 $(PWD)/dshell
 	chmod 755 $(PWD)/dshell-decode
 	chmod 755 $(PWD)/bin/decode.py
@@ -15,7 +15,7 @@ rc:
 initpy:
 	find $(PWD)/decoders -type d -not -path \*.svn\* -print -exec touch {}/__init__.py \;
 
-pydoc:
+pydoc: rc
 	(cd $(PWD)/doc && ./generate-doc.sh $(PWD) )
 
 clean: clean_pyc clean_ln