| 1 |
Description: Fix FTBFS "cp to same file" |
| 2 |
cp is complaining about copying to the same file. latex2html puts |
| 3 |
those as hardlinks first, "cp -f" then complains. We use "cp |
| 4 |
--remove-destination" instead, which removes without looking first. |
| 5 |
Author: Carsten Leonhardt <[email protected]> |
| 6 |
Last-Update: 2023-02-06 |
| 7 |
Bug-Debian: 1002245 |
| 8 |
Forwarded: not-needed |
| 9 |
|
| 10 |
--- a/manuals/web.makefile |
| 11 |
+++ b/manuals/web.makefile |
| 12 |
@@ -90,7 +90,7 @@ web: commonfiles pngimages jpgimages |
| 13 |
$(AT)rm -f $(DOC)/xp-*.png |
| 14 |
$(AT)rm -f $(DOC)/next.eps $(DOC)/next.png $(DOC)/prev.eps $(DOC)/prev.png $(DOC)/up.eps $(DOC)/up.png |
| 15 |
$(AT)$(LATEX_TO_HTML) |
| 16 |
- $(AT)cp -f $(DOC)/$(MAINDOC) $(DOC)/index.html |
| 17 |
+ $(AT)cp --remove-destination $(DOC)/$(MAINDOC) $(DOC)/index.html |
| 18 |
$(AT)cp ../$(DOC).css ./$(DOC)/ |
| 19 |
$(AT)(cd $(DOC) ; $(TOOLS_DIR)/translatedoc.pl -i $(INPUTDIR)/index.html $(HTML_DEBUG) -e -o $(HTML_DIR)/index.html -j $(JSDIR) -c $(CSSDIR) -p $(IMAGESDIR) -n $(DOC) -r $(INPUTDIR)) |
| 20 |
$(AT)(cd $(DOC) ; for L in $(INPUTDIR)/*html ; do $(TOOLS_DIR)/translatedoc.pl $(HTML_DEBUG) -i $(INPUTDIR)/`basename $$L` -o $(HTML_DIR)/`basename $$L` -j $(JSDIR) -c $(CSSDIR) -p $(IMAGESDIR) -n $(DOC) ; done) |