contrib/smplayer/smplayer-0.6.7-install.patch
2009-06-05 17:30:38 +09:00

30 lines
1.2 KiB
Diff

--- smplayer-0.6.7/Makefile.orig 2009-06-05 16:36:20.686805553 +0900
+++ smplayer-0.6.7/Makefile 2009-06-05 16:37:34.781961061 +0900
@@ -57,13 +57,6 @@
install -m 755 src/smplayer $(DESTDIR)$(PREFIX)/bin/
-install -d $(DESTDIR)$(DATA_PATH)
install -m 644 src/input.conf $(DESTDIR)$(DATA_PATH)
- -install -d $(DESTDIR)$(TRANSLATION_PATH)
- install -m 644 src/translations/*.qm $(DESTDIR)$(TRANSLATION_PATH)
- -install -d $(DESTDIR)$(DOC_PATH)
- install -m 644 Changelog *.txt $(DESTDIR)$(DOC_PATH)
-
- -install -d $(DESTDIR)$(DOC_PATH)
- tar -C docs/ --exclude=.svn -c -f - . | tar -C $(DESTDIR)$(DOC_PATH) -x -f -
-install -d $(DESTDIR)$(SHORTCUTS_PATH)
cp src/shortcuts/* $(DESTDIR)$(SHORTCUTS_PATH)
@@ -79,9 +72,9 @@
-install -d $(DESTDIR)$(KDE_APPLNK)
install -m 644 smplayer.desktop $(DESTDIR)$(KDE_APPLNK)
install -m 644 smplayer_enqueue.desktop $(DESTDIR)$(KDE_APPLNK)
- -install -d $(DESTDIR)$(PREFIX)/share/man/man1/
- install -m 644 man/smplayer.1 $(DESTDIR)$(PREFIX)/share/man/man1/
- gzip -9 -f $(DESTDIR)$(PREFIX)/share/man/man1/smplayer.1
+ -install -d $(DESTDIR)$(PREFIX)/man/man1/
+ install -m 644 man/smplayer.1 $(DESTDIR)$(PREFIX)/man/man1/
+ gzip -9 -f $(DESTDIR)$(PREFIX)/man/man1/smplayer.1
uninstall:
-rm -f $(PREFIX)/bin/smplayer