[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r8925 - grc/trunk
From: |
jblum |
Subject: |
[Commit-gnuradio] r8925 - grc/trunk |
Date: |
Thu, 17 Jul 2008 14:39:42 -0600 (MDT) |
Author: jblum
Date: 2008-07-17 14:39:39 -0600 (Thu, 17 Jul 2008)
New Revision: 8925
Modified:
grc/trunk/Makefile
Log:
Makefile prefix
Modified: grc/trunk/Makefile
===================================================================
--- grc/trunk/Makefile 2008-07-17 20:12:08 UTC (rev 8924)
+++ grc/trunk/Makefile 2008-07-17 20:39:39 UTC (rev 8925)
@@ -21,21 +21,19 @@
DOCS_URL = http://www.ece.jhu.edu/~jblum/downloads/grc_gnuradio_docs.tar.gz
DOCS_DEST = /usr/local/share/doc/
+PREFIX = /usr/local
all:
- @echo Options: build, clean, install, uninstall, docs_install,
docs_uninstall
+ @echo Options: install, uninstall, docs_install, docs_uninstall
-build: clean
- python setup.py build
+install:
+ python setup.py install --prefix=$(PREFIX)
+ rm -rf build
-clean:
- if [ -d build ]; then rm -rf build; fi
-
-install: build
- python setup.py install
-
uninstall:
- rm -rf `python -c "import grc,os;print os.path.dirname(grc.__file__)"`*
+ rm -rf `python -c "import grc,os;print os.path.dirname(grc.__file__)"`
+ rm -rf `python -c "import grc_gnuradio,os;print
os.path.dirname(grc_gnuradio.__file__)"`
+ rm -rf `which grc` `which usrp_diagnostics`
docs_install:
mkdir -p $(DOCS_DEST)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r8925 - grc/trunk,
jblum <=