fix for install without ladspa build
authorGood Guy <[email protected]>
Sun, 5 Jun 2016 00:50:11 +0000 (18:50 -0600)
committerGood Guy <[email protected]>
Sun, 5 Jun 2016 00:50:11 +0000 (18:50 -0600)
cinelerra-5.1/Makefile.am

index 95fc4ee3131165c54b8510d1736789da8b097ea9..5085f0e7834b424afb9e1ae407a7f12b02b6aa87 100644 (file)
@@ -50,7 +50,9 @@ cinstall:
                COPYING README msg.txt ffmpeg doc models
        cd bin/locale; $(inst_sh) "$(DESTDIR)$(localedir)" .
        cd bin/plugins; $(inst_sh) "$(DESTDIR)$(WANT_PLUGIN_DIR)" .
-       cd bin/ladspa; $(inst_sh) "$(DESTDIR)$(WANT_LADSPA_DIR)" .
+       if test "x$(WANT_LADSPA_BUILD)" = "xyes"; then \
+         cd bin/ladspa; $(inst_sh) "$(DESTDIR)$(WANT_LADSPA_DIR)" . ; \
+       fi
        cd bin/applications; $(inst_sh) "$(DESTDIR)$(datadir)/applications" .
        cd bin/pixmaps; $(inst_sh) "$(DESTDIR)$(datadir)/pixmaps" .