]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- add uninstall-hook, don't we just love autocrap crapiness?
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 3 Apr 2012 20:21:54 +0000 (20:21 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 3 Apr 2012 20:21:54 +0000 (20:21 +0000)
svn-id: @12537

Makefile.am

index 7ad30df197adeaf84ccb2574ea4071fe6960de6a..202c26c40accd2dcfcc3cfc3747b96178271bf3e 100644 (file)
@@ -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
This page took 0.345195 seconds and 4 git commands to generate.