All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@polymtl.ca>
To: lttng-dev@lists.lttng.org
Subject: [PATCH ust] Add missing --record in Python's Makefile
Date: Wed, 14 Oct 2015 01:34:36 -0400	[thread overview]
Message-ID: <1444800876-23552-1-git-send-email-simon.marchi__16000.4892888994$1444800940$gmane$org@polymtl.ca> (raw)

I believe this is missing.  Fixes this error when doing

  $ make install DESTDIR=/tmp/lttng-ust2

make[1]: Entering directory '/home/simark/src/lttng-ust/liblttng-ust-python-agent'
if [ "/tmp/lttng-ust2" = "" ]; then \
	/usr/bin/python setup.py install --prefix=/tmp/lttng-ust --record install_files.txt  --verbose --no-compile ;  \
else \
	/usr/bin/python setup.py install --root=/tmp/lttng-ust2 --verbose install_files.txt  --prefix=/tmp/lttng-ust --no-compile ; \
fi
invalid command name 'install_files.txt'
Makefile:713: recipe for target 'install-exec-local' failed
make[1]: *** [install-exec-local] Error 1
make[1]: Leaving directory '/home/simark/src/lttng-ust/liblttng-ust-python-agent'
Makefile:594: recipe for target 'install-am' failed
make: *** [install-am] Error 2

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
---
 liblttng-ust-python-agent/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/liblttng-ust-python-agent/Makefile.am b/liblttng-ust-python-agent/Makefile.am
index f80b8a3..8bac3fb 100644
--- a/liblttng-ust-python-agent/Makefile.am
+++ b/liblttng-ust-python-agent/Makefile.am
@@ -18,7 +18,7 @@ install-exec-local:
 	if [ "$(DESTDIR)" = "" ]; then \
 		$(PYTHON) setup.py install --prefix=$(prefix) --record install_files.txt  --verbose --no-compile $(DISTSETUPOPTS);  \
 	else \
-		$(PYTHON) setup.py install --root=$(DESTDIR) --verbose install_files.txt  --prefix=$(prefix) --no-compile $(DISTSETUPOPTS); \
+		$(PYTHON) setup.py install --root=$(DESTDIR) --verbose --record install_files.txt  --prefix=$(prefix) --no-compile $(DISTSETUPOPTS); \
 	fi
 clean-local:
 	rm -rf build
-- 
2.6.1

             reply	other threads:[~2015-10-14  5:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14  5:34 Simon Marchi [this message]
     [not found] <1444800876-23552-1-git-send-email-simon.marchi@polymtl.ca>
2015-10-15 21:24 ` [PATCH ust] Add missing --record in Python's Makefile Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='1444800876-23552-1-git-send-email-simon.marchi__16000.4892888994$1444800940$gmane$org@polymtl.ca' \
    --to=simon.marchi@polymtl.ca \
    --cc=lttng-dev@lists.lttng.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.