bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: darwin going upstream ?


From: Yves de Champlain
Subject: Re: darwin going upstream ?
Date: Wed, 14 Feb 2007 01:21:51 -0500


Le 07-02-14 à 00:22, Adam Fedor a écrit :


On Feb 12, 2007, at 8:10 PM, Yves de Champlain wrote:
The build stops because a weird error :

...
gzip internals.ps -c > internals.ps.gz
no internals
gnumake[1]: no: Command not found
gnumake[1]: *** [internals/internals.html] Error 127
gnumake: *** [internals.all.doc.variables] Error 2


OK, I think I found the bug (commited to svn):

Index: Instance/Documentation/latex.make
===================================================================
--- Instance/Documentation/latex.make   (revision 24526)
+++ Instance/Documentation/latex.make   (working copy)
@@ -75,7 +75,7 @@
internal-doc-all_:: $(GNUSTEP_INSTANCE).tar.gz
$(GNUSTEP_INSTANCE)/$(GNUSTEP_INSTANCE).html: $(GNUSTEP_INSTANCE).dvi
-       $(LATEX2HTML) $(GNUSTEP_INSTANCE)
+       $(LATEX2HTML) $(GNUSTEP_INSTANCE).dvi
$(GNUSTEP_INSTANCE).tar.gz: $(GNUSTEP_INSTANCE)/$ (GNUSTEP_INSTANCE).html $(TAR) cfzX $(GNUSTEP_INSTANCE).tar.gz $(GNUSTEP_MAKEFILES)/tar- exclude-list $(GNUSTEP_INSTANCE)

That did not change anything.  However, it gave me a hint :

There seems to be a problem with this part :

LATEX2HTML = $(shell which latex2html | awk '{print $$1}' | sed -e 's/which://')

ifneq ($(LATEX2HTML),)
  HAS_LATEX2HTML = yes
endif


Changing to :

#ifneq ($(LATEX2HTML),)
HAS_LATEX2HTML = no
#endif

Fixed the problem.

Now, for the future generations of Darwin users :

--> which latex2html | awk '{print $1}' |  sed -e 's/which://'

when no latex2html is installed, gives

--> no

If latex2html is installed, then it will give :

--> /opt/local/bin/latex2html

|  sed -e 's/which://'  is completely useless

|  sed -e 's/no//'  would give the expected results on darwin

So the most obvious fix, for me, is to make sure latex2html is installed, and things just work.
The above patch breaks things again, though.

But I still have lots of html not installed. Actually, only stuff from internals is installed as html too.

thanks

yves





reply via email to

[Prev in Thread] Current Thread [Next in Thread]