diff options
author | Jeffrey Osier <jeffrey@cygnus> | 1993-02-03 22:03:33 +0000 |
---|---|---|
committer | Jeffrey Osier <jeffrey@cygnus> | 1993-02-03 22:03:33 +0000 |
commit | 2518bf3701c16d72fcbfedbd23e6a5f81868bb05 (patch) | |
tree | 9e343a59a3d8781f4fe83fa7ebfd00581413911e /gprof | |
parent | 1a8c6d5b92fb690a346e42fdb01d622d1e82eaa5 (diff) | |
download | gdb-2518bf3701c16d72fcbfedbd23e6a5f81868bb05.zip gdb-2518bf3701c16d72fcbfedbd23e6a5f81868bb05.tar.gz gdb-2518bf3701c16d72fcbfedbd23e6a5f81868bb05.tar.bz2 |
added rules for info, install-info, and dvi; rule for clean is correct, too
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 4 | ||||
-rw-r--r-- | gprof/Makefile.in | 37 |
2 files changed, 36 insertions, 5 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 5ef0cc4..c466d45 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,7 @@ +Wed Feb 3 13:55:33 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) + + * Makefile.in: created info, install-info, dvi + Wed Jan 6 00:58:09 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) * Makefile.in: fix install rule for $(PROG) diff --git a/gprof/Makefile.in b/gprof/Makefile.in index 8fedeba..af03187 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -12,11 +12,18 @@ tooldir = $(libdir) mandir = $(prefix)/man man1dir = $(mandir)/man1 +infodir = $(prefix)/info datadir = $(prefix)/lib INSTALL = install -c INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) +MAKEINFO = makeinfo +TEX = tex +TEXINDEX = texindex + +# this is the directory we look in to find Texinfo +texidir = $(srcdir)/../texinfo #### host and target dependent Makefile fragments come in here. ### @@ -48,13 +55,30 @@ all: diststuff $(PROG) FILE=$*.m $(srcdir)/$*.m diststuff: $(DISTSTUFF) - + +gprof.info: gprof.texi + $(MAKEINFO) -o gprof.info $(srcdir)/gprof.texi + +gprof.dvi: gprof.texi + TEXINPUTS=${TEXIDIR}:$(srcdir):$$TEXINPUTS $(TEX) $(srcdir)/gprof.texi + $(TEXINDEX) gprof.?? + TEXINPUTS=${TEXIDIR}:$(srcdir):$$TEXINPUTS $(TEX) $(srcdir)/gprof.texi + +info: gprof.info + +dvi: gprof.dvi check: -info: -install-info: -install: all +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 + for i in *.info* ; do \ + $(INSTALL_DATA) $$i $(infodir)/$$i ; \ + done + +install: all install-info -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi @@ -68,7 +92,10 @@ $(PROG): $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(LIBS) mostlyclean: - -rm -f *.o core gprof nohup.out + -rm -f *.o core gprof nohup.out gprof.info* \ + gprof.cps gprof.fns gprof.log gprof.ps gprof.tps\ + gprof.aux gprof.dvi gprof.ky gprof.pg gprof.toc gprof.vr\ + gprof.cp gprof.fn gprof.kys gprof.pgs gprof.tp gprof.vrs clean: mostlyclean -rm -f gprof distclean: clean |