aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gprof/ChangeLog4
-rw-r--r--gprof/Makefile.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index c65acf5..5ef0cc4 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jan 6 00:58:09 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
+
+ * Makefile.in: fix install rule for $(PROG)
+
Fri Oct 9 11:25:41 1992 Mark Eichin (eichin@cygnus.com)
* gprof.1: updated SYNOPSIS to match actual behavior.
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)