aboutsummaryrefslogtreecommitdiff
path: root/gprof/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/Makefile.in')
-rw-r--r--gprof/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/Makefile.in b/gprof/Makefile.in
index ef09ae7..8fedeba 100644
--- a/gprof/Makefile.in
+++ b/gprof/Makefile.in
@@ -61,7 +61,7 @@ install: all
-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)
+ $(INSTALL_PROGRAM) $(PROG) $(bindir)/$(PROG)
$(INSTALL_DATA) $(srcdir)/gprof.1 $(man1dir)/gprof.1
$(PROG): $(OBJS)