Browse Source

Only install LV2 or VST plugins if they have been built, fixes #5

tags/2018-04-16
falkTX 8 years ago
parent
commit
3bfddf7f46
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      Makefile

+ 5
- 1
Makefile View File

@@ -27,9 +27,13 @@ install:
install -d $(DESTDIR)/usr/src/distrho/scripts/

# install plugins
ifneq (,$(wildcard bin/lv2/TheFunction.lv2))
cp -r bin/lv2/*.lv2/ $(DESTDIR)$(PREFIX)/lib/lv2/
cp -r bin/vst/* $(DESTDIR)$(PREFIX)/lib/vst/
cp -r static-lv2-ttl/*.lv2/ $(DESTDIR)$(PREFIX)/lib/lv2/
endif
ifneq (,$(wildcard bin/vst/TheFunction.so))
cp -r bin/vst/* $(DESTDIR)$(PREFIX)/lib/vst/
endif

# install source needed for extra builds
install -m 644 libs/libjuce.a $(DESTDIR)/usr/src/distrho/libs/


Loading…
Cancel
Save