aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-01-06 09:00:02 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-01-06 09:00:02 +0000
commitdedfbe49b9cfdbc5a376f8ab5bcf973dfc2f88b0 (patch)
tree6f5274121926ad909a7492597e9b68f94d24dab0
parent240f485a4102732e6082d14ecaca89cf03df641f (diff)
downloadgdb-dedfbe49b9cfdbc5a376f8ab5bcf973dfc2f88b0.zip
gdb-dedfbe49b9cfdbc5a376f8ab5bcf973dfc2f88b0.tar.gz
gdb-dedfbe49b9cfdbc5a376f8ab5bcf973dfc2f88b0.tar.bz2
fix install rule
-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)