File: remove-os-check.patch

package info (click to toggle)
htmldoc 1.9.3-1%2Bdeb10u4
  • links: PTS
  • area: main
  • in suites: buster
  • size: 15,224 kB
  • sloc: ansic: 67,846; cpp: 24,380; makefile: 352; sh: 149; java: 59; php: 36; xml: 10; perl: 7
file content (22 lines) | stat: -rw-r--r-- 698 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: remove operating system check during .desktop installation
 the files can also be installed on hurd and kfreebsd
Forwarded: not-needed

--- a/desktop/Makefile
+++ b/desktop/Makefile
@@ -27,14 +27,12 @@
 #
 
 install:
-	if test `uname` = Linux; then \
 		$(INSTALL_DIR) $(BUILDROOT)$(datadir)/applications; \
 		$(INSTALL_DATA) htmldoc.desktop $(BUILDROOT)$(datadir)/applications; \
 		$(INSTALL_DIR) $(BUILDROOT)$(datadir)/mime/packages; \
 		$(INSTALL_DATA) htmldoc.xml $(BUILDROOT)$(datadir)/mime/packages; \
 		$(INSTALL_DIR) $(BUILDROOT)$(datadir)/pixmaps; \
 		$(INSTALL_DATA) htmldoc.xpm $(BUILDROOT)$(datadir)/pixmaps; \
-	fi
 
 
 #