diff options
author | David D. Zuhn <zoo@cygnus> | 1993-06-16 00:15:53 +0000 |
---|---|---|
committer | David D. Zuhn <zoo@cygnus> | 1993-06-16 00:15:53 +0000 |
commit | 263773eca175409be062eb5a3fa9c7fe6193999d (patch) | |
tree | 0352e31a9c8f44b39540bf732bf65bca7a4a3a25 /gprof/Makefile.in | |
parent | a77fe627981c6c5d65da060d75aade0ddc295413 (diff) | |
download | gdb-263773eca175409be062eb5a3fa9c7fe6193999d.zip gdb-263773eca175409be062eb5a3fa9c7fe6193999d.tar.gz gdb-263773eca175409be062eb5a3fa9c7fe6193999d.tar.bz2 |
remove parentdir support
Diffstat (limited to 'gprof/Makefile.in')
-rw-r--r-- | gprof/Makefile.in | 19 |
1 files changed, 5 insertions, 14 deletions
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: |