Description: add install targets to Makefile
 Split upstream install target into install-arch and 
 install-indep which can be used by Debian packaging
Author: Christian T. Steigies <cts@debian.org>
Last-Update: 2018-09-01
Index: madbomber-0.2.5/Makefile
===================================================================
--- madbomber-0.2.5.orig/Makefile
+++ madbomber-0.2.5/Makefile
@@ -39,15 +39,18 @@ SDL_LIB=$(MIXER) $(IMAGE) $(SDL_LDFLAGS)
 
 all:	$(TARGET)
 
-install:
-	mkdir -p $(DATA_PREFIX)
-	cp -r data/* $(DATA_PREFIX)
-	chown -R root.root $(DATA_PREFIX)
-	chmod -R a+rX,g-w,o-w $(DATA_PREFIX)
+install: install-arch install-indep
+
+install-arch:
 	cp madbomber $(BIN_PREFIX)
 	chown root.root $(BIN_PREFIX)/madbomber
 	chmod a+rx,g-w,o-w $(BIN_PREFIX)/madbomber
 
+install-indep:
+	mkdir -p $(DATA_PREFIX)
+	cp -r data/images data/music data/sounds $(DATA_PREFIX)
+	chown -R root.root $(DATA_PREFIX)
+	chmod -R a+rX,g-w,o-w $(DATA_PREFIX)
 
 nosound:
 	make $(TARGET) MIXER= NOSOUNDFLAG=NOSOUND
