aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-06-16 00:15:53 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-06-16 00:15:53 +0000
commit263773eca175409be062eb5a3fa9c7fe6193999d (patch)
tree0352e31a9c8f44b39540bf732bf65bca7a4a3a25 /gprof
parenta77fe627981c6c5d65da060d75aade0ddc295413 (diff)
downloadgdb-263773eca175409be062eb5a3fa9c7fe6193999d.zip
gdb-263773eca175409be062eb5a3fa9c7fe6193999d.tar.gz
gdb-263773eca175409be062eb5a3fa9c7fe6193999d.tar.bz2
remove parentdir support
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog4
-rw-r--r--gprof/Makefile.in19
2 files changed, 9 insertions, 14 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 038b318..5633859 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 3c5dcd8..130d7f6 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: