aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-01-07 08:57:00 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-01-07 08:57:00 +0800
commitc9636652e201aa694821122ec898e4ffa93b1f6b (patch)
treea7607e2c260d5e8b71546e3cae377e776d477b5e /data
parent51de6f47429b98a4ed7e4975bcebadeff93ac17a (diff)
downloadgsoc2013-evolution-c9636652e201aa694821122ec898e4ffa93b1f6b.tar.gz
gsoc2013-evolution-c9636652e201aa694821122ec898e4ffa93b1f6b.tar.zst
gsoc2013-evolution-c9636652e201aa694821122ec898e4ffa93b1f6b.zip
add some uninstall rules for local data
005-01-06 JP Rosevear <jpr@novell.com> * data/Makefile.am: add some uninstall rules for local data svn path=/trunk/; revision=28261
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6b3324e811..9dcb5ceb62 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -26,9 +26,14 @@ install-kde-applnk:
$(mkinstalldirs) $(DESTDIR)$(kdedesktopdir); \
$(INSTALL_DATA) $(kdedesktop_file) \
$(DESTDIR)$(kdedesktopdir)/$(kdedesktop_file:.desktop=-$(BASE_VERSION).desktop)
+
+uninstall-kde-applnk:
+ rm -rf $(DESTDIR)$(kdedesktopdir)/$(kdedesktop_file:.desktop=-$(BASE_VERSION).desktop)
+
else
install-kde-applnk:
+uninstall-kde-applnk:
endif
@@ -46,6 +51,11 @@ install-data-local: install-kde-applnk $(desktop_file) $(keys_file) $(mime_file)
$(mkinstalldirs) $(DESTDIR)$(mimedir); \
$(INSTALL_DATA) $(srcdir)/$(mime_file) $(DESTDIR)$(mimedir)/$(mime_file:.mime=-$(BASE_VERSION).mime) ;
+uninstall-local: uninstall-kde-applnk
+ rm -rf $(DESTDIR)$(desktopdir)/$(desktop_file:.desktop=-$(BASE_VERSION).desktop) ; \
+ rm -rf $(DESTDIR)$(keysdir)/$(keys_file:.keys=-$(BASE_VERSION).keys) ; \
+ rm -rf $(DESTDIR)$(mimedir)/$(mime_file:.mime=-$(BASE_VERSION).mime) ;
+
# CDE Stuff
if HAVE_DTAPPINTEGRATE