{"thread":{"id":"328","subject":"[PATCH GIT 0.6.3] Add an uninstall target to Makefile","startedAt":"2005-04-26T13:48:22Z","lastAt":"2005-04-26T13:48:22Z","messageCount":1,"participants":["Martin Atukunda"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"1736","messageId":"200504261648.22814.matlads@ds.co.ug","threadId":"328","inReplyTo":null,"subject":"[PATCH GIT 0.6.3] Add an uninstall target to Makefile","fromName":"Martin Atukunda","fromEmail":"matlads@ds.co.ug","sentAt":"2005-04-26T13:48:22Z","receivedAt":"2005-04-26T13:48:22Z","isPatch":true,"sender":{"key":"matlads@ds.co.ug","avatar":null},"body":"Add an uninstall target to Makefile that removes installed scripts and\nprograms.\n\nSigned-off-by: Martin Atukunda <matlads@ds.co.ug>\n\nIndex: Makefile\n===================================================================\n--- 0a9ee5a4d947b998a7ce489242800b39f98eeee5/Makefile  (mode:100644 \nsha1:2d7e4cf0464c45b7c5b169bff7e5c4e7768c13a1)\n+++ uncommitted/Makefile  (mode:100644)\n@@ -82,6 +82,9 @@\n        install -m755 -d $(DESTDIR)$(bindir)\n        install $(PROG) $(SCRIPT) $(GEN_SCRIPT) $(DESTDIR)$(bindir)\n \n+uninstall:\n+       cd $(DESTDIR)$(bindir) && rm $(PROG) $(SCRIPT) $(GEN_SCRIPT)\n+\n clean:\n        rm -f *.o mozilla-sha1/*.o $(PROG) $(GEN_SCRIPT) $(LIB_FILE)\n"}]}