-install: install-recursive
- cp COPYING README $(BINDIR)/.
- cp -a models $(BINDIR)/.
- cp -a ffmpeg $(BINDIR)/.
- cp -a msg.txt $(BINDIR)/.
-
-rebuild:
- $(MAKE) -C guicast clean
- $(MAKE) -C cinelerra clean
- $(MAKE) -C plugins clean
- $(MAKE) -C guicast
- $(MAKE) -C cinelerra
- $(MAKE) -C plugins
-
-rebuild_all:
- $(MAKE) -C libzmpeg3 clean
- $(MAKE) -C libzmpeg3
- $(MAKE) -C db clean
- $(MAKE) -C db
- $(MAKE) rebuild
- $(MAKE) -C db/utils
-
-rebuild_install:
- $(MAKE) -C cinelerra install
- $(MAKE) -C plugins install
+# with system_build
+sys_install: $(CIN_INSTALLS)
+ cd bin; $(inst_sh) "$(DESTDIR)$(bindir)" "$(WANT_CIN)" bdwrite
+ cd bin; $(inst_sh) "$(DESTDIR)$(datadir)/$(WANT_CIN)" \
+ COPYING README models Cinelerra_factory ffmpeg msg info tips doc
+ cd bin/locale; $(inst_sh) "$(DESTDIR)$(localedir)" .
+ cd bin/plugins; $(inst_sh) "$(DESTDIR)$(WANT_PLUGIN_DIR)" .
+ cd bin/applications; $(inst_sh) "$(DESTDIR)$(datadir)/applications" .
+ cd bin/pixmaps; $(inst_sh) "$(DESTDIR)$(datadir)/pixmaps" .
+
+sys_uninstall: $(CIN_UNINSTALLS)
+ rm -f "$(DESTDIR)$(bindir)/$(WANT_CIN)"
+ rm -rf "$(DESTDIR)$(WANT_CINLIB_DIR)"
+ rm -rf "$(DESTDIR)$(datadir)/$(WANT_CIN)"
+ rm -rf "$(DESTDIR)$(localedir)"/*/"LC_MESSAGES/$(WANT_CIN).mo"
+ rm -rf "$(DESTDIR)$(WANT_PLUGIN_DIR)"
+ rm -f "$(DESTDIR)$(datadir)/applications/$(WANT_CIN).desktop"
+ rm -f "$(DESTDIR)$(datadir)/pixmaps/$(WANT_CIN)".{svg,xpm}
+
+# without system_build
+dvl_install:
+ cp Makefile.devel Makefile
+
+dvl_uninstall:
+ rm -f Makefile
+
+# with-libzmpeg3
+zmp_install:
+ cd bin; $(inst_sh) "$(DESTDIR)$(bindir)" \
+ zmpeg3{cat,cc2txt,ifochk,show,toc}
+ cd bin; $(inst_sh) "$(DESTDIR)$(WANT_CINLIB_DIR)" \
+ hveg2enc mpeg2enc mplex mplexlo
+
+zmp_uninstall:
+ rm -f "$(DESTDIR)$(bindir)"/zmpeg3{cat,cc2txt,ifochk,show,toc}
+
+# with-commercial
+com_install:
+ cd bin; $(inst_sh) "$(DESTDIR)$(bindir)" cin_db
+ cd bin; $(inst_sh) "$(DESTDIR)$(WANT_CINLIB_DIR)" cutads
+
+com_uninstall:
+ rm -f "$(DESTDIR)$(bindir)/cin_db"
+
+# with-ladspa
+lad_install:
+ cd bin/ladspa; $(inst_sh) "$(DESTDIR)$(WANT_LADSPA_DIR)" .
+
+lad_uninstall:
+ rm -rf "$(DESTDIR)$(WANT_LADSPA_DIR)"
+
+# with-lv2
+lv2_install:
+ cd bin; $(inst_sh) "$(DESTDIR)$(WANT_CINLIB_DIR)" lv2ui
+ cd bin; $(inst_sh) "$(DESTDIR)$(datadir)/$(WANT_CIN)" \
+ lv2 lv2_blacklist.txt
+
+lv2_uninstall: