Changeset 1b2669a
- Timestamp:
- Dec 2, 2016, 3:07:16 AM (8 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
- Children:
- 7faef58
- Parents:
- 0ec7113
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r0ec7113 r1b2669a 4 4 #WAFOPTS:= 5 5 # turn on verbose mode 6 #WAFOPTS += --verbose6 WAFOPTS += --verbose 7 7 # build wafopts 8 8 WAFOPTS += --destdir $(DESTDIR) … … 12 12 DESTDIR:=$(PWD)/build/dist 13 13 PYDESTDIR:=$(PWD)/build/pydist 14 15 BUILDID=$(shell mktemp -d -p $(PWD)/dist/) 14 16 15 17 # default install locations … … 53 55 # install 54 56 $(WAFCMD) install $(WAFOPTS) 55 make list_installed56 57 57 58 list_installed: 58 find $(DESTDIR) -ls | sed 's|$(DESTDIR)|/«destdir»|' 59 find $(DESTDIR) -ls | \ 60 sed 's|$(DESTDIR)|/«destdir»|' 61 tar --full-time --mtime=$(PWD)/src/aubio.h -jcvf $(BUILDID)/aubio-dist.tar.bz2 -C $(DESTDIR)/ . 59 62 60 63 list_installed_python: 61 find $(PYDESTDIR) -ls | sed 's|$(PYDESTDIR)|/«pydestdir»|' 64 ( find $(PYDESTDIR) -ls || make list_installed_python_package ) | \ 65 sed 's|$(PYDESTDIR)|/«pydestdir»|' 66 [ -d $(PYDESTDIR) ] && \ 67 tar --full-time --mtime=$(PWD)/src/aubio.h -jcvf $(BUILDID)/python-aubio-dist.tar.bz2 -C $(PYDESTDIR)/ . || \ 68 true 69 70 list_installed_python_package: 71 pip show -f aubio 72 PACKAGE_LOCATION=$(shell pip show -f aubio | grep ^Location | cut -d \ -f 2) \ 73 make list_installed_python_package_content 74 75 list_installed_python_package_content: 76 ( [ -d $(PACKAGE_LOCATION) ] && find $(PACKAGE_LOCATION) -ls ) || \ 77 unzip -l $(PACKAGE_LOCATION) 78 cp -prv $(PACKAGE_LOCATION) $(BUILDID) 79 80 list_all_installed: list_installed list_installed_python 62 81 63 82 uninstall: … … 70 89 build_python: 71 90 # build python-aubio, using locally built libaubio if found 72 python ./setup.py build $(ENABLE_DOUBLE)91 python ./setup.py build_ext $(ENABLE_DOUBLE) 73 92 74 93 build_python_extlib: … … 78 97 [ -f $(DESTDIR)/$(LIBDIR)/pkgconfig/aubio.pc ] 79 98 PKG_CONFIG_PATH=$(DESTDIR)/$(LIBDIR)/pkgconfig \ 80 CFLAGS="-I$(DESTDIR)/$(INCLUDEDIR) $(CFLAGS)" \81 LDFLAGS="-L$(DESTDIR)/$(LIBDIR) $(CFLAGS)" \99 CFLAGS="-I$(DESTDIR)/$(INCLUDEDIR)" \ 100 LDFLAGS="-L$(DESTDIR)/$(LIBDIR)" \ 82 101 make build_python 83 make list_installed84 cat $(DESTDIR)/$(LIBDIR)/pkgconfig/aubio.pc85 102 86 103 deps_python: … … 125 142 # also run with nose, multiple processes 126 143 nose2 -N 4 127 # list installed files128 #find $(DESTDIR) -ls | sed 's|$(DESTDIR)||'129 make list_installed_python130 144 131 145 clean_python: … … 140 154 # optionnaly clean before build 141 155 -$(WAFCMD) clean 156 # remove possible left overs 157 -rm -rf doc/_build 142 158 143 159 check_clean: … … 171 187 172 188 # build only libaubio, no python-aubio 173 test_lib_only: clean distclean configure build install 189 test_lib_only: clean distclean configure build install list_installed 174 190 # additionally, clean after a fresh build 175 191 test_lib_only_clean: test_lib_only uninstall check_clean check_distclean … … 180 196 configure build build_python \ 181 197 install install_python \ 182 test_python 198 test_python \ 199 list_all_installed 183 200 184 201 test_lib_python_clean: test_lib_python \ … … 195 212 build_python_extlib \ 196 213 install_python \ 197 test_python 214 test_python \ 215 list_all_installed 198 216 199 217 test_lib_install_python_clean: test_lib_install_python \ … … 208 226 build_python \ 209 227 install_python \ 210 test_python 228 test_python \ 229 list_installed_python 211 230 212 231 test_python_only_clean: test_python_only \
Note: See TracChangeset
for help on using the changeset viewer.