From: John L. <mov...@us...> - 2001-08-18 16:11:21
|
Update of /cvsroot/oprofile/oprofile In directory usw-pr-cvs1:/tmp/cvs-serv29460 Modified Files: ChangeLog Makefile.in Log Message: uninstall patch from philippe Index: ChangeLog =================================================================== RCS file: /cvsroot/oprofile/oprofile/ChangeLog,v retrieving revision 1.83 retrieving revision 1.84 diff -u -d -r1.83 -r1.84 --- ChangeLog 2001/08/18 15:58:31 1.83 +++ ChangeLog 2001/08/18 16:11:17 1.84 @@ -1,3 +1,11 @@ +2001-08-18 Philippe Elie <ph...@cl...> + + * Makefile.in: + * dae/Makefile.in: + * pp/Makefile.in: + * doc/Makefile.in: + * gui/Makefile.in: add uninstall target + 2001-08-18 John Levon <mo...@co...> * dae/opd_proc.c: tiny cleanup Index: Makefile.in =================================================================== RCS file: /cvsroot/oprofile/oprofile/Makefile.in,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- Makefile.in 2001/08/16 01:57:58 1.22 +++ Makefile.in 2001/08/18 16:11:17 1.23 @@ -6,18 +6,20 @@ CC=@CC@ LD=@LD@ -.PHONY: all install clean distclean tags +.PHONY: all install clean distclean maintainerclean uninstall tags all: oprofile.o $(MAKE) -C dae $(MAKE) -C pp $(MAKE) -C gui +# doc/Makefile is deleted here but should be deleted in distclean. +# When the dist target works move it as action of distclean. maintainerclean: distclean - rm -f configure + rm -f configure doc/Makefile distclean: clean - rm -f Makefile dae/Makefile pp/Makefile tags + rm -f Makefile dae/Makefile pp/Makefile gui/Makefile tags # broken dist: @@ -30,7 +32,7 @@ ./configure ; \ cp doc/Makefile doc/Makefile.tmp ; \ make distclean ; \ - cd doc && make && rm -f Makefile && cd .. ; \ + cd doc && make -f Makefile.tmp && rm -f Makefile.tmp && cd .. ; \ cd .. ; \ mv oprofile oprofile-@VERSION@ ; \ tar cvfz ../oprofile-@VERSION@.tar.gz oprofile-@VERSION@ ; \ @@ -49,6 +51,16 @@ $(MAKE) -C pp install $(MAKE) -C doc install $(MAKE) -C gui install + +uninstall: + -rm -f $(MODINSTALLDIR)/oprofile.o + -rmdir --ignore-fail-on-non-empty $(MODINSTALLDIR) + depmod -a + $(MAKE) -C dae uninstall + $(MAKE) -C pp uninstall + $(MAKE) -C doc uninstall + $(MAKE) -C gui uninstall + @echo "Goodbye." clean: rm -f *.o config.status config.log config.cache |