Browse Source

Fix make install (skip lv2 plugin for now)

tags/1.9.4
falkTX 10 years ago
parent
commit
7aab2df398
5 changed files with 41 additions and 41 deletions
  1. +40
    -40
      Makefile
  2. +1
    -1
      data/carla-standalone.pc
  3. +0
    -0
      data/todo/carla-control
  4. +0
    -0
      data/todo/carla-control.desktop
  5. +0
    -0
      data/todo/carla-single

+ 40
- 40
Makefile View File

@@ -264,13 +264,9 @@ clean:
rm -f $(WIDGETS) rm -f $(WIDGETS)
rm -f *~ source/*~ source/*.pyc source/*_rc.py source/ui_*.py rm -f *~ source/*~ source/*.pyc source/*_rc.py source/ui_*.py


# --------------------------------------------------------------

debug: debug:
$(MAKE) DEBUG=true $(MAKE) DEBUG=true


# --------------------------------------------------------------

doxygen: doxygen:
$(MAKE) doxygen -C source/backend $(MAKE) doxygen -C source/backend


@@ -280,18 +276,19 @@ install:
# Create directories # Create directories
install -d $(DESTDIR)$(PREFIX)/bin/ install -d $(DESTDIR)$(PREFIX)/bin/
install -d $(DESTDIR)$(PREFIX)/lib/carla/ install -d $(DESTDIR)$(PREFIX)/lib/carla/
install -d $(DESTDIR)$(PREFIX)/lib/carla/resources/
install -d $(DESTDIR)$(PREFIX)/lib/carla/resources/nekofilter/
install -d $(DESTDIR)$(PREFIX)/lib/carla/resources/zynaddsubfx/
install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/nekofilter/
install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/zynaddsubfx/
install -d $(DESTDIR)$(PREFIX)/lib/carla/styles/
# install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
# install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
# install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/nekofilter/
# install -d $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/zynaddsubfx/
install -d $(DESTDIR)$(PREFIX)/lib/pkgconfig/ install -d $(DESTDIR)$(PREFIX)/lib/pkgconfig/
install -d $(DESTDIR)$(PREFIX)/include/carla/ install -d $(DESTDIR)$(PREFIX)/include/carla/
install -d $(DESTDIR)$(PREFIX)/include/carla/includes/ install -d $(DESTDIR)$(PREFIX)/include/carla/includes/
install -d $(DESTDIR)$(PREFIX)/share/applications/ install -d $(DESTDIR)$(PREFIX)/share/applications/
install -d $(DESTDIR)$(PREFIX)/share/carla/ install -d $(DESTDIR)$(PREFIX)/share/carla/
install -d $(DESTDIR)$(PREFIX)/share/carla/resources/
install -d $(DESTDIR)$(PREFIX)/share/carla/resources/nekofilter/
install -d $(DESTDIR)$(PREFIX)/share/carla/resources/zynaddsubfx/
install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/ install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/
install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/ install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/
install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/ install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/
@@ -342,35 +339,34 @@ install:


# Install backend # Install backend
install -m 644 \ install -m 644 \
source/backend/*.so \
bin/libcarla_standalone2.* \
$(DESTDIR)$(PREFIX)/lib/carla/ $(DESTDIR)$(PREFIX)/lib/carla/


# Install binaries # Install binaries
install -m 755 \ install -m 755 \
source/bridges/*bridge-* \
source/discovery/carla-discovery-* \
bin/*bridge-* \
bin/carla-discovery-* \
$(DESTDIR)$(PREFIX)/lib/carla/ $(DESTDIR)$(PREFIX)/lib/carla/


# Install binaries for lv2 plugin
install -m 755 \
source/bridges/*bridge-* \
source/discovery/carla-discovery-* \
$(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
# Install binaries for lv2 plugin, TODO
# install -m 755 \
# source/bridges/*bridge-* \
# source/discovery/carla-discovery-* \
# $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/


# Install lv2 plugin
install -m 644 \
source/plugin/carla-native.lv2/*.so \
source/plugin/carla-native.lv2/*.ttl \
$(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/
# Install lv2 plugin, TODO
# install -m 644 \
# source/plugin/carla-native.lv2/*.so \
# source/plugin/carla-native.lv2/*.ttl \
# $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/


# Install python code # Install python code
install -m 644 source/*.py $(DESTDIR)$(PREFIX)/share/carla/ install -m 644 source/*.py $(DESTDIR)$(PREFIX)/share/carla/


# Install python "binaries" # Install python "binaries"
install -m 755 \
install -m 644 \
source/carla \ source/carla \
source/carla-patchbay \ source/carla-patchbay \
source/carla-plugin \
source/carla-rack \ source/carla-rack \
$(DESTDIR)$(PREFIX)/share/carla/ $(DESTDIR)$(PREFIX)/share/carla/


@@ -380,22 +376,26 @@ install:
install -m 644 source/includes/CarlaDefines.h $(DESTDIR)$(PREFIX)/include/carla/includes/ install -m 644 source/includes/CarlaDefines.h $(DESTDIR)$(PREFIX)/include/carla/includes/


# Install resources (main) # Install resources (main)
install -m 755 source/modules/native-plugins/resources/carla-plugin $(DESTDIR)$(PREFIX)/lib/carla/resources/
install -m 755 source/modules/native-plugins/resources/*-ui $(DESTDIR)$(PREFIX)/lib/carla/resources/
install -m 644 source/modules/native-plugins/resources/*.py $(DESTDIR)$(PREFIX)/lib/carla/resources/
install -m 644 source/modules/native-plugins/resources/nekofilter/*.png $(DESTDIR)$(PREFIX)/lib/carla/resources/nekofilter/
install -m 644 source/modules/native-plugins/resources/zynaddsubfx/*.png $(DESTDIR)$(PREFIX)/lib/carla/resources/zynaddsubfx/

# Install resources (lv2 plugin)
install -m 755 source/modules/native-plugins/resources/carla-plugin $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
install -m 755 source/modules/native-plugins/resources/*-ui $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
install -m 644 source/modules/native-plugins/resources/*.py $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
install -m 644 source/modules/native-plugins/resources/nekofilter/*.png $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/nekofilter/
install -m 644 source/modules/native-plugins/resources/zynaddsubfx/*.png $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/zynaddsubfx/
install -m 644 bin/resources/carla-plugin $(DESTDIR)$(PREFIX)/share/carla/resources/
install -m 644 bin/resources/*-ui $(DESTDIR)$(PREFIX)/share/carla/resources/
install -m 644 bin/resources/nekofilter/*.png $(DESTDIR)$(PREFIX)/share/carla/resources/nekofilter/
install -m 644 bin/resources/zynaddsubfx/*.png $(DESTDIR)$(PREFIX)/share/carla/resources/zynaddsubfx/

# Install resources (re-use python files)
cd $(DESTDIR)$(PREFIX)/share/carla/resources/ && \
$(LINK) ../*.py .
cd $(CURDIR)

# Install resources (lv2 plugin), TODO
# install -m 755 source/modules/native-plugins/resources/carla-plugin $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
# install -m 755 source/modules/native-plugins/resources/*-ui $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
# install -m 644 source/modules/native-plugins/resources/*.py $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/
# install -m 644 source/modules/native-plugins/resources/nekofilter/*.png $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/nekofilter/
# install -m 644 source/modules/native-plugins/resources/zynaddsubfx/*.png $(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/zynaddsubfx/


# Install theme # Install theme
$(MAKE) STYLES_DIR=$(DESTDIR)$(PREFIX)/lib/carla/styles install-main -C source/modules/theme
$(MAKE) STYLES_DIR=$(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/styles install-main -C source/modules/theme
install -m 644 bin/styles/* $(DESTDIR)$(PREFIX)/lib/carla/styles/
# $(MAKE) STYLES_DIR=$(DESTDIR)$(PREFIX)/lib/lv2/carla-native.lv2/resources/styles install-main -C source/modules/theme


# Adjust PREFIX value in script files # Adjust PREFIX value in script files
sed -i "s?X-PREFIX-X?$(PREFIX)?" \ sed -i "s?X-PREFIX-X?$(PREFIX)?" \


+ 1
- 1
data/carla-standalone.pc View File

@@ -7,4 +7,4 @@ Name: carla-standalone
Version: 1.9.1 Version: 1.9.1
Description: Carla Host Standalone Description: Carla Host Standalone
Libs: -Wl,rpath=${libdir} -L${libdir} -lcarla_standalone2 Libs: -Wl,rpath=${libdir} -L${libdir} -lcarla_standalone2
Cflags: -I${includedir} -I${includedir}/includes
Cflags: -DREAL_BUILD -I${includedir} -I${includedir}/includes

data/carla-control → data/todo/carla-control View File


data/carla-control.desktop → data/todo/carla-control.desktop View File


data/carla-single → data/todo/carla-single View File


Loading…
Cancel
Save