--- omxplayer-7af21f596378e5efeceebedff9c4a298e2d06d98.orig/Makefile +++ omxplayer-7af21f596378e5efeceebedff9c4a298e2d06d98/Makefile @@ -46,7 +48,7 @@ $(CXX) $(CFLAGS) $(INCLUDES) -c $< -o $@ -Wno-deprecated-declarations version: - bash gen_version.sh > version.h + sh gen_version.sh > version.h omxplayer.bin: version $(OBJS) $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) -lvchiq_arm -lvcos -ldbus-1 -lrt -lpthread -lavutil -lavcodec -lavformat -lswscale -lswresample -lpcre @@ -64,12 +66,9 @@ make -f Makefile.ffmpeg make -f Makefile.ffmpeg install -dist: omxplayer.bin - mkdir -p $(DIST)/usr/lib/omxplayer +install: omxplayer.bin mkdir -p $(DIST)/usr/bin mkdir -p $(DIST)/usr/share/doc - cp omxplayer omxplayer.bin $(DIST)/usr/bin + cp omxplayer.bin $(DIST)/usr/bin/omxplayer cp COPYING $(DIST)/usr/share/doc/ cp README.md $(DIST)/usr/share/doc/README - cp -a ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/ - cd $(DIST); tar -czf ../$(DIST).tgz *