diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | data/Makefile.am | 10 |
2 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2005-01-06 JP Rosevear <jpr@novell.com> + + * data/Makefile.am: add some uninstall rules for local data + 2005-01-03 JP Rosevear <jpr@novell.com> * configure.in: add itip-formatter to the "all" list, its not 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 |