On Mon, 10 Feb 2003, Vin Shelton wrote:
I'm afraid the ecb hackery has left ecb in a state where make
bindist
generates an error:
ls -1 pkginfo/MANIFEST.ecb > pkginfo/MANIFEST.ecb) cp -af
/opt/build/xemacs-packages-2003-02-10/xemacs-packages/ecb/ecb*.html
/home/acs/tmp/staging/html cp: cannot stat
`/opt/build/xemacs-packages-2003-02-10/xemacs-packages/ecb/ecb*.html':
No such file or directory make: *** [binkit-with-html] Error 1
The problem, of course, is that when you run 'make bindist' for the
/first/ time, there is no ecb.html file to match the wildcard specified
by:
HTML_FILES = $(PACKAGE)*.html
The following patch fixes this problem, but I don't know if this is
really the Right Way to fix this.
--- Makefile~ 2003-02-09 12:44:37.000000000 -0500
+++ Makefile 2003-02-10 20:46:35.000000000 -0500
@@ -34,7 +34,7 @@
EXTRA_SOURCES = HISTORY README RELEASE_NOTES
INFO_FILES = $(PACKAGE).info*
-HTML_FILES = $(PACKAGE)*.html
+HTML_FILES = $(PACKAGE).html
HTML_DEP = $(PACKAGE).html
TEXI_FILES = $(PACKAGE).texi
First of all i would say that your patch can not work. Why should
$(PACKAGE).html be better than $(PACKAGE)*.html? If there is no X*.html file
then there is also no X.html because the latter is contained in the former.
OK, now to the problem: IIRC Steve Young has commited a patch to the ecb
Makefile which removes building the html docu from the target 'all'. Therefore
there are no html-files to copy during target binkit which just calls
binkit-with-html.
I have just tested "make bindist" in the ecb-directory and it works if
all-target look like:
all:: $(ELCS) auto-autoloads.elc custom-load.elc $(PACKAGE).info html
If you remove the html at the end then it fails like you have reported.
I suppose the fix must be changing the binkit-target in the ecb makefile too:
binkit: binkit-common
instead of
binkit: binkit-with-html
should work.
Anyway: I will update the ecb-package in the next days to the current ECB
release 1.91.1 (will be released today or tomorrow) and will also fix this
problem. But feel free to commit my suggested patch if you agree with me that
this is the right way to fix it.
Ciao,
Klaus
--
Klaus Berndl mailto: klaus.berndl(a)sdm.de
sd&m AG
http://www.sdm.de
software design & management
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220