[SCM] calf/master: + autostuff: uninstall fixes

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:36:57 UTC 2013


The following commit has been merged in the master branch:
commit 8d25009a992df8de4381d491d87c8a646f99e0e6
Author: kfoltman <kfoltman at 78b06b96-2940-0410-b7fc-879d825d01d8>
Date:   Fri Jan 11 22:45:41 2008 +0000

    + autostuff: uninstall fixes
    
    
    
    git-svn-id: https://calf.svn.sourceforge.net/svnroot/calf/trunk@88 78b06b96-2940-0410-b7fc-879d825d01d8

diff --git a/src/Makefile.am b/src/Makefile.am
index beb7956..24ce815 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -109,23 +109,28 @@ endif
 
 #remove calf.so, calf.rdf and - if empty - ladspa dir in usr/share
 uninstall-hook:
+if USE_LV2
+	rm -f $(DESTDIR)$(with_lv2_dir)/calf.lv2/calf.so
+	rm -f $(DESTDIR)$(with_lv2_dir)/calf.lv2/calf.ttl $(DESTDIR)$(with_lv2_dir)/calf.lv2/manifest.ttl
+	rmdir -p $(DESTDIR)$(with_lv2_dir)/calf.lv2 || true
+endif
 if USE_JACK
 	rm -f $(DESTDIR)$(pkglibdir)/calf.glade 
 endif
 	rm -f $(DESTDIR)$(pkglibdir)/presets.xml
 	rm -f $(DESTDIR)$(pkglibdir)/knob.png
-	rmdir $(DESTDIR)$(pkglibdir)    
+	rmdir $(DESTDIR)$(pkglibdir) || true
 if USE_LADSPA
 	$(RM) -f $(DESTDIR)$(with_ladspa_dir)/calf.so
 	$(RM) -f $(DESTDIR)$(with_ladspa_rdf_dir)/calf.rdf
-	rmdir $(DESTDIR)$(with_ladspa_rdf_dir)
+	rmdir -p $(DESTDIR)$(with_ladspa_rdf_dir) || true
 endif
 if USE_DSSI
 	$(RM) -f $(DESTDIR)$(with_dssi_dir)/calf.so
 if USE_DSSI_GUI
 	$(RM) -f $(DESTDIR)$(with_dssi_dir)/calf/calf_gtk
 endif
-	$(RMDIR) -f $(DESTDIR)$(with_dssi_dir)/calf
+	rmdir -p $(DESTDIR)$(with_dssi_dir)/calf || true
 endif
 
 #install:

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list