| 1 |
Descriptionscip-debian debian bacula-doc 15.0.3+debian1-1 bacula-doc/patches/002_fix-ftbfs-cp-same-file#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 |
Authorscip-debian debian bacula-doc 15.0.3+debian1-1 bacula-doc/patches/002_fix-ftbfs-cp-same-file#Author.: Carsten Leonhardt <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 6 |
Last-Updatescip-debian debian bacula-doc 15.0.3+debian1-1 bacula-doc/patches/002_fix-ftbfs-cp-same-file#Last-Update.: 2023-02-06 |
| 7 |
Bug-Debianscip-debian debian bacula-doc 15.0.3+debian1-1 bacula-doc/patches/002_fix-ftbfs-cp-same-file#Bug-Debian.: 1002245scip-debian-bts debian-bts . . 1002245: |
| 8 |
Forwardedscip-debian debian bacula-doc 15.0.3+debian1-1 bacula-doc/patches/002_fix-ftbfs-cp-same-file#Forwarded.: not-needed |
| 9 |
|
| 10 |
--- a/manuals/web.makefilescip-debian debian bacula-doc 15.0.3+debian1-1 bacula-doc/upstream/`manuals/web.makefile`: |
| 11 |
+++ b/manuals/web.makefilescip-debian debian bacula-doc 15.0.3+debian1-1 bacula-doc/upstream/`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 |
|
| 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) |