Make "make clean" work in subdirs.
authorJohn Gilmore <gnu@cygnus>
Thu, 22 Aug 1991 07:10:57 +0000 (07:10 +0000)
committerJohn Gilmore <gnu@cygnus>
Thu, 22 Aug 1991 07:10:57 +0000 (07:10 +0000)
gdb/Makefile.in

index 1b43ed95647ec84d77cc0c31cea5a0855ca46142..37157407d703b8710bc60d16fcc6ff215ba44f50 100644 (file)
@@ -478,7 +478,7 @@ clean:
        rm -f init.c init.o version.c
        rm -f gdb core gdb.tar gdb.tar.Z make.log
        rm -f gdb[0-9]
-       cd doc; make clean
+       cd $(srcdir)/doc; make clean
 
 distclean: clean expread.tab.c TAGS
        rm -f tm.h xm.h config.status