File: fix-dirgz.patch

package info (click to toggle)
numdiff 5.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,680 kB
  • sloc: ansic: 10,808; sh: 3,383; makefile: 276
file content (16 lines) | stat: -rw-r--r-- 626 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Paolo Greppi <paolo.greppi@libpf.com>
Description: Do not install the info dir.gz file since that gets generated by something else

--- a/Makefile.in
+++ b/Makefile.in
@@ -210,10 +210,6 @@ install: installdirs html info pdf txt
 	$(POST_INSTALL)
 	$(INSTALL_DATA) $(INFOFILE) "$(DESTDIR)$(INFODIR)"
 	$(INSTALL_DATA) $(INFOFILE).gz "$(DESTDIR)$(INFODIR)"
-	if $(SHELL) -c "$(INSTINFO) --version" \
-	>/dev/null 2>&1; then \
-	$(INSTINFO) --dir-file="$(DESTDIR)$(INFODIR)/dir" "$(DESTDIR)$(INFODIR)/numdiff.info"; \
-	else true; fi
 
 install-nls: install
 	$(INSTALL_DATA) $(PACKAGE_IT).mo $(IT_LOC_DIR)/$(PACKAGE).mo