* [PATCH GIT 0.6.3] Add an uninstall target to Makefile
@ 2005-04-26 13:48 Martin Atukunda
0 siblings, 0 replies; only message in thread
From: Martin Atukunda @ 2005-04-26 13:48 UTC (permalink / raw)
To: git
Add an uninstall target to Makefile that removes installed scripts and
programs.
Signed-off-by: Martin Atukunda <matlads@ds.co.ug>
Index: Makefile
===================================================================
--- 0a9ee5a4d947b998a7ce489242800b39f98eeee5/Makefile (mode:100644
sha1:2d7e4cf0464c45b7c5b169bff7e5c4e7768c13a1)
+++ uncommitted/Makefile (mode:100644)
@@ -82,6 +82,9 @@
install -m755 -d $(DESTDIR)$(bindir)
install $(PROG) $(SCRIPT) $(GEN_SCRIPT) $(DESTDIR)$(bindir)
+uninstall:
+ cd $(DESTDIR)$(bindir) && rm $(PROG) $(SCRIPT) $(GEN_SCRIPT)
+
clean:
rm -f *.o mozilla-sha1/*.o $(PROG) $(GEN_SCRIPT) $(LIB_FILE)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-26 13:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-26 13:48 [PATCH GIT 0.6.3] Add an uninstall target to Makefile Martin Atukunda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).