only copy lv2core .ttl (exclude headers) to bundle
authorRobin Gareus <robin@gareus.org>
Sun, 16 Aug 2015 22:06:34 +0000 (00:06 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 16 Aug 2015 22:06:34 +0000 (00:06 +0200)
tools/linux_packaging/build

index 0915beba3a720c9c842311b00adfb276f91c0655..b9fa4751518b548f43c1c8f7a98ffcbac2de5005 100755 (executable)
@@ -566,9 +566,11 @@ cp -R $BUILD_ROOT/libs/LV2 $APPLIB/
 
 # lv2 core, classifications etc - TODO check if we need the complete LV2 ontology
 if test -d $ARDOURSTACK_ROOT/lib/lv2/lv2core.lv2 ; then
-       cp -R $ARDOURSTACK_ROOT/lib/lv2/lv2core.lv2 $APPLIB/LV2/
+       mkdir -p $APPLIB/LV2/lv2core.lv2
+       cp -R $ARDOURSTACK_ROOT/lib/lv2/lv2core.lv2/*.ttl $APPLIB/LV2/lv2core.lv2/
 elif test -d $GTKSTACK_ROOT/lib/lv2/lv2core.lv2 ; then
-       cp -R $GTKSTACK_ROOT/lib/lv2/lv2core.lv2 $APPLIB/LV2/
+       mkdir -p $APPLIB/LV2/lv2core.lv2
+       cp -R $GTKSTACK_ROOT/lib/lv2/lv2core.lv2/*.ttl $APPLIB/LV2/lv2core.lv2/
 fi
 
 # go through and recursively remove any .svn dirs in the bundle