summarylogtreecommitdiffstats
path: root/0002-do-not-install-non-binary-files-for-non-Doom-games.patch
blob: 90bdae4e08eb1d1a0ebc2060ea9636f1074ff823 (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
From e56e1732d1b8bcd0f0ceb108cb28de12b3e0a648 Mon Sep 17 00:00:00 2001
From: Fabian Greffrath <fabian@greffrath.com>
Date: Mon, 13 Jun 2016 21:07:38 +0200
Subject: [PATCH] do not install non-binary files for non-Doom games

Fixes #111, thanks @chungy
---
 Makefile.am                     | 12 ++++++------
 man/Makefile.am                 | 34 +++++++++++++++++-----------------
 man/bash-completion/Makefile.am |  8 ++++----
 src/Makefile.am                 | 16 ++++++++--------
 4 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 74ee60c..33f457a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,14 +59,14 @@ EXTRA_DIST=                             \
 doomdocsdir = ${docdir}/../${PROGRAM_PREFIX}doom
 doomdocs_DATA = $(DOC_FILES) NOT-BUGS.md
 
-hereticdocsdir = ${docdir}/../${PROGRAM_PREFIX}heretic
-hereticdocs_DATA = $(DOC_FILES)
+#hereticdocsdir = ${docdir}/../${PROGRAM_PREFIX}heretic
+#hereticdocs_DATA = $(DOC_FILES)
 
-hexendocsdir = ${docdir}/../${PROGRAM_PREFIX}hexen
-hexendocs_DATA = $(DOC_FILES)
+#hexendocsdir = ${docdir}/../${PROGRAM_PREFIX}hexen
+#hexendocs_DATA = $(DOC_FILES)
 
-strifedocsdir = ${docdir}/../${PROGRAM_PREFIX}strife
-strifedocs_DATA = $(DOC_FILES) README.Strife.md
+#strifedocsdir = ${docdir}/../${PROGRAM_PREFIX}strife
+#strifedocs_DATA = $(DOC_FILES) README.Strife.md
 
 MAINTAINERCLEANFILES =  $(AUX_DIST_GEN)
 
diff --git a/man/Makefile.am b/man/Makefile.am
index b92cf97..4739b82 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -20,22 +20,22 @@ if HAVE_PYTHON
 GENERATED_MAN_PAGES =               \
            @PROGRAM_PREFIX@doom.6         \
            default.cfg.5            \
-           @PROGRAM_PREFIX@doom.cfg.5     \
-           @PROGRAM_PREFIX@heretic.6      \
-           heretic.cfg.5            \
-           @PROGRAM_PREFIX@heretic.cfg.5  \
-           @PROGRAM_PREFIX@hexen.6        \
-           hexen.cfg.5              \
-           @PROGRAM_PREFIX@hexen.cfg.5    \
-           @PROGRAM_PREFIX@strife.6       \
-           strife.cfg.5             \
-           @PROGRAM_PREFIX@strife.cfg.5
+           @PROGRAM_PREFIX@doom.cfg.5
+#          @PROGRAM_PREFIX@heretic.6      \
+#          heretic.cfg.5            \
+#          @PROGRAM_PREFIX@heretic.cfg.5  \
+#          @PROGRAM_PREFIX@hexen.6        \
+#          hexen.cfg.5              \
+#          @PROGRAM_PREFIX@hexen.cfg.5    \
+#          @PROGRAM_PREFIX@strife.6       \
+#          strife.cfg.5             \
+#          @PROGRAM_PREFIX@strife.cfg.5
 
 SETUP_MAN_PAGES =                          \
-           @PROGRAM_PREFIX@doom-setup.6    \
-           @PROGRAM_PREFIX@heretic-setup.6 \
-           @PROGRAM_PREFIX@hexen-setup.6   \
-           @PROGRAM_PREFIX@strife-setup.6
+           @PROGRAM_PREFIX@doom-setup.6
+#          @PROGRAM_PREFIX@heretic-setup.6 \
+#          @PROGRAM_PREFIX@hexen-setup.6   \
+#          @PROGRAM_PREFIX@strife-setup.6
 
 man_MANS = chocolate-server.6             \
            chocolate-setup.6              \
@@ -43,9 +43,9 @@ man_MANS = chocolate-server.6             \
            $(SETUP_MAN_PAGES)
 
 doomdocs_DATA    = INSTALL.doom    CMDLINE.doom
-hereticdocs_DATA = INSTALL.heretic CMDLINE.heretic
-hexendocs_DATA   = INSTALL.hexen   CMDLINE.hexen
-strifedocs_DATA  = INSTALL.strife  CMDLINE.strife
+#hereticdocs_DATA = INSTALL.heretic CMDLINE.heretic
+#hexendocs_DATA   = INSTALL.hexen   CMDLINE.hexen
+#strifedocs_DATA  = INSTALL.strife  CMDLINE.strife
 
 CLEANFILES = $(GENERATED_MAN_PAGES) $(SETUP_MAN_PAGES) \
              $(doomdocs_DATA) $(hereticdocs_DATA) \
diff --git a/man/bash-completion/Makefile.am b/man/bash-completion/Makefile.am
index 7001aff..9ccc9ea 100644
--- a/man/bash-completion/Makefile.am
+++ b/man/bash-completion/Makefile.am
@@ -9,10 +9,10 @@ BASH_COMPLETION_TEMPLATES = \
 if HAVE_PYTHON
 
 BASH_COMPLETION_SCRIPTLETS = \
-    @PROGRAM_PREFIX@doom \
-    @PROGRAM_PREFIX@heretic \
-    @PROGRAM_PREFIX@hexen \
-    @PROGRAM_PREFIX@strife
+    @PROGRAM_PREFIX@doom
+#   @PROGRAM_PREFIX@heretic \
+#   @PROGRAM_PREFIX@hexen \
+#   @PROGRAM_PREFIX@strife
 
 bashcompletion_DATA = $(BASH_COMPLETION_SCRIPTLETS)
 CLEANFILES = $(BASH_COMPLETION_SCRIPTLETS)
diff --git a/src/Makefile.am b/src/Makefile.am
index 7534fe1..59a8b3b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -221,10 +221,10 @@ EXTRA_DIST =                        \
 
 appdatadir = $(prefix)/share/appdata
 appdata_DATA =                              \
-        @PROGRAM_PREFIX@doom.appdata.xml    \
-        @PROGRAM_PREFIX@heretic.appdata.xml \
-        @PROGRAM_PREFIX@hexen.appdata.xml   \
-        @PROGRAM_PREFIX@strife.appdata.xml
+        @PROGRAM_PREFIX@doom.appdata.xml
+#       @PROGRAM_PREFIX@heretic.appdata.xml \
+#       @PROGRAM_PREFIX@hexen.appdata.xml   \
+#       @PROGRAM_PREFIX@strife.appdata.xml
 
 @PROGRAM_PREFIX@doom.appdata.xml : doom.appdata.xml
 	cp doom.appdata.xml $@
@@ -240,10 +240,10 @@ appdata_DATA =                              \
 
 appdir = $(prefix)/share/applications
 app_DATA =                                 \
-           @PROGRAM_PREFIX@doom.desktop    \
-           @PROGRAM_PREFIX@heretic.desktop \
-           @PROGRAM_PREFIX@hexen.desktop   \
-           @PROGRAM_PREFIX@strife.desktop
+           @PROGRAM_PREFIX@doom.desktop
+#          @PROGRAM_PREFIX@heretic.desktop \
+#          @PROGRAM_PREFIX@hexen.desktop   \
+#          @PROGRAM_PREFIX@strife.desktop
 
 @PROGRAM_PREFIX@doom.desktop : doom.desktop
 	cp doom.desktop $@
-- 
2.8.3