]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - Makefile.am
- add uninstall-hook, don't we just love autocrap crapiness?
[projects/rc-scripts.git] / 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.05905 seconds and 4 git commands to generate.