Description: fix binary install path to comply with DP § 11.11
 and install upstream icon file with the correct name.
Author: Ricardo Mones <mones@debian.org>
Forwarded: not-needed

diff --git a/Makefile b/Makefile
index 1cd719b..382a5f3 100644
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,10 @@ test: 2048
 	./2048 test
 
 install:
-	mkdir -p $(DESTDIR)$(PREFIX)/bin
-	cp -p 2048 $(DESTDIR)$(PREFIX)/bin/2048
+	mkdir -p $(DESTDIR)$(PREFIX)/games
+	cp -p 2048 $(DESTDIR)$(PREFIX)/games/2048
+	mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps
+	cp -p debian_2048.png $(DESTDIR)$(PREFIX)/share/pixmaps/2048.png
 
 clean:
 	rm -f 2048
