aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/smplayer/files/patch-Makefile
blob: bc748120602d1b1b089d3f3b115cfde4d531d727 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- Makefile.orig   2018-01-12 15:20:18 UTC
+++ Makefile
@@ -5,7 +5,6 @@ PREFIX=/usr/local
 CONF_PREFIX=$(PREFIX)
 
 DATA_PATH=$(PREFIX)/share/smplayer
-DOC_PATH=$(PREFIX)/share/doc/packages/smplayer
 TRANSLATION_PATH=$(PREFIX)/share/smplayer/translations
 THEMES_PATH=$(PREFIX)/share/smplayer/themes
 SHORTCUTS_PATH=$(PREFIX)/share/smplayer/shortcuts
@@ -18,7 +17,7 @@ LRELEASE=lrelease
 
 DEFS=DATA_PATH=\\\"$(DATA_PATH)\\\" \
      TRANSLATION_PATH=\\\"$(TRANSLATION_PATH)\\\" \
-     DOC_PATH=\\\"$(DOC_PATH)\\\" THEMES_PATH=\\\"$(THEMES_PATH)\\\" \
+     THEMES_PATH=\\\"$(THEMES_PATH)\\\" \
      SHORTCUTS_PATH=\\\"$(SHORTCUTS_PATH)\\\"
 
 all: src/smplayer webserver/simple_web_server
@@ -43,13 +42,8 @@ install: all
    install -m 644 src/input.conf $(DESTDIR)$(DATA_PATH)
    -install -d $(DESTDIR)$(TRANSLATION_PATH)
    install -m 644 src/translations/*.qm $(DESTDIR)$(TRANSLATION_PATH)
-   -install -d $(DESTDIR)$(DOC_PATH)
-   install -m 644 Changelog *.txt $(DESTDIR)$(DOC_PATH)
 
    install -m 755 webserver/simple_web_server $(DESTDIR)$(PREFIX)/bin/
-
-   -install -d $(DESTDIR)$(DOC_PATH)
-   tar -C docs/ --exclude=.svn -c -f - . | tar -C $(DESTDIR)$(DOC_PATH) -x -f -
 
    -install -d $(DESTDIR)$(SHORTCUTS_PATH)
    cp src/shortcuts/* $(DESTDIR)$(SHORTCUTS_PATH)