File: fix-Makefile.am.patch

package info (click to toggle)
foobillardplus 3.43~svn170%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 86,620 kB
  • ctags: 2,010
  • sloc: ansic: 125,581; makefile: 268; xml: 32; sh: 1
file content (56 lines) | stat: -rw-r--r-- 2,207 bytes parent folder | download | duplicates (4)
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
From: Markus Koschany <apo@debian.org>
Date: Thu, 17 Jan 2013 23:33:52 +0100
Subject: fix Makefile.am

Remove unnecessary hook targets.

Forwarded: not-needed

---
 Makefile.am |   35 -----------------------------------
 1 file changed, 35 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 3d61fe1..6b433f3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,39 +13,4 @@ srpm: dist
 	PWD=`pwd` rpmbuild --define "_sourcedir $$PWD" --define "_builddir $$PWD/build" \
 	  --define "_rpmdir $$PWD/build" --define "_srcrpmdir $$PWD" -bs foobillardplus.spec 
 
-dist-hook:
-	mkdir -p $(distdir)/data
-	cp -p $(srcdir)/data/* $(distdir)/data -R
-	cp -p $(srcdir)/AUTHORS $(distdir)
-	cp -p $(srcdir)/COPYING $(distdir)
-	cp -p $(srcdir)/INSTALL $(distdir)
-	cp -p $(srcdir)/README $(distdir)
-	cp -p $(srcdir)/ChangeLog $(distdir)
-	cp -p $(srcdir)/TODO $(distdir)
-	cp -p $(srcdir)/OFL.txt $(distdir)
-	cp -p $(srcdir)/foobillardplus.desktop $(distdir)
-	cp -p $(srcdir)/foobillardplus.desktop /usr/share/applications
-	cp -p $(srcdir)/foobillardplus.png $(distdir)
-	cp -p $(srcdir)/foobillardplus.png /usr/share/icons
-	cp -p $(srcdir)/foobillardplus.xbm $(distdir)
 
-install-data-hook:
-	mkdir -p $(datadir)
-	cp -p $(srcdir)/data/* $(datadir) -R
-	cp -p $(srcdir)/AUTHORS $(datarootdir)
-	cp -p $(srcdir)/COPYING $(datarootdir)
-	cp -p $(srcdir)/INSTALL $(datarootdir)
-	cp -p $(srcdir)/README $(datarootdir)
-	cp -p $(srcdir)/ChangeLog $(datarootdir)
-	cp -p $(srcdir)/TODO $(datarootdir)
-	cp -p $(srcdir)/OFL.txt $(datarootdir)
-	cp -p $(srcdir)/foobillardplus.desktop $(datarootdir)
-	cp -p $(srcdir)/foobillardplus.png $(datarootdir)
-	cp -p $(srcdir)/foobillardplus.png /usr/share/icons
-	cp -p $(srcdir)/foobillardplus.xbm $(datarootdir)
-	echo -e "[Desktop Entry]\nVersion=1.0\nType=Application\nTerminal=false\nIcon=/usr/share/icons/foobillardplus.png\nName=Foobillard++\nExec=$(bindir)/foobillardplus\nComment=OpenGL Billiard Game\nGenericName=OpenGL Billiard Game\n" >/usr/share/applications/foobillardplus.desktop
-
-uninstall-hook:
-	rm $(datarootdir) -R
-	rm /usr/share/icons/foobillardplus.png
-	rm /usr/share/applications/foobillardplus.desktop