From: David D. Zuhn Date: Wed, 16 Jun 1993 00:15:53 +0000 (+0000) Subject: remove parentdir support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=263773eca175409be062eb5a3fa9c7fe6193999d;p=binutils-gdb.git remove parentdir support --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 038b3184e5a..563385955a2 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,7 @@ +Mon Jun 14 16:22:59 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) + + * Makefile.in: remove parentdir support + Mon Jun 7 12:56:17 1993 Per Bothner (bothner@rtl.cygnus.com) * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. diff --git a/gprof/Makefile.in b/gprof/Makefile.in index 3c5dcd8db89..130d7f6a42e 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -15,7 +15,7 @@ man1dir = $(mandir)/man1 infodir = $(prefix)/info datadir = $(prefix)/lib -INSTALL = install -c +INSTALL = $(srcdir)/../install -c INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) MAKEINFO = makeinfo @@ -72,25 +72,16 @@ dvi: gprof.dvi check: installcheck: -install-info: info - -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \ - if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi - -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi +install-info: for i in *.info* ; do \ $(INSTALL_DATA) $$i $(infodir)/$$i ; \ done -install: all - -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ - if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi - -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi - -parent=`echo $(bindir)|sed -e 's@/[^/]*$$@@'`; \ - if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi - -if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi - $(INSTALL_PROGRAM) $(PROG) $(bindir)/$(PROG) +install: + $(INSTALL_PROGRAM) gprof $(bindir)/gprof $(INSTALL_DATA) $(srcdir)/gprof.1 $(man1dir)/gprof.1 -$(PROG): $(OBJS) +gprof: $(OBJS) $(CC) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIBS) mostlyclean: