From f6c13fabda661884a09512bac8812e8acab35722 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 3 Apr 2012 20:21:54 +0000 Subject: [PATCH] - add uninstall-hook, don't we just love autocrap crapiness? svn-id: @12537 --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 7ad30df1..202c26c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,6 +37,9 @@ install-data-hook: install -d $(DESTDIR)$(localstatedir)/cache/$(PACKAGE) [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] || touch $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache +uninstall-hook: + [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] && rm -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache + # make rpms rpm: $(PACKAGE).spec $(MAKE) dist -- 2.44.0