Xref: utzoo comp.sys.atari.st.tech:2370 comp.sys.atari.st:38169 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!corton!laas!ralph From: ralph@laas.fr (Ralph P. Sobek) Newsgroups: comp.sys.atari.st.tech,comp.sys.atari.st Subject: GNU Make troubles: 2 bombs! Keywords: GNU Make 3.54, LaTeX/TeX/BibTeX Message-ID: Date: 13 May 91 17:18:35 GMT Sender: news@laas.laas.fr Distribution: comp Organization: LAAS-CNRS France Lines: 35 I am trying to use GNU Make in order to control a LaTeX document. This is GNU make v. 3.54 that comes off of atari.archive. The same Makefile works on my Sun SPARC, but gives 2 bombs on my Mega 4 ST. The Makefile replaces .SUFFIXES to be LaTex/TeX specific. It also uses sub-directories: PARAGRAPHS = $(patsubst %,$(DIR_P)/%.tex, $(PARAGRAPHS_LIST)) The rule that GNU make has trouble with seems to be the following: %.bbl : %.bib $(DIR_P)/%.tex -bibtex $* if egrep -s "^(There were .* error messages)$$" $*.blg ; then \ touch $< ; fi $DIR_P has the value "acm". When GNU make is run with -d it sees that it should check in the subdirectory. But when wanting to do the implicit dependencies for foobar.bbl, which are foobar.bib and acm/foobar.tex, it tries also to look for either acm/SCCS/foobar.tex or acm/RCS/foobar.tex. Immediately: 2 bombs! Earlier, it checked for SCCS/foobar.tex and RCS/foobar.tex and coninued without aborting. The problem might be the double directory structure. Has anybody else used GNUMAKE for LaTeX and friends? Also, this GNUMAKE came with GCC 1.35 or 1.36. Maybe a more recent version is necessary. Thanks to all, -- Ralph P. Sobek Disclaimer: The above ruminations are my own. ralph@laas.fr Addresses are ordered by importance. ralph@laas.uucp, or ...!uunet!laas!ralph If all else fails, try: sobek@eclair.Berkeley.EDU =============================================================================== Proud owner of a Mega 4 ST. Wishing it was a Mega STe! :-|