--- Makefile.orgi 2008-10-25 18:18:55.000000000 +0200 +++ Makefile 2008-10-25 18:19:58.000000000 +0200 @@ -5,7 +5,6 @@ CONF_PREFIX=$(PREFIX) DATA_PATH=$(PREFIX)/share/smplayer -DOC_PATH=$(PREFIX)/share/doc/packages/smplayer TRANSLATION_PATH=$(PREFIX)/share/smplayer/translations CONF_PATH=$(CONF_PREFIX)/etc/smplayer THEMES_PATH=$(PREFIX)/share/smplayer/themes @@ -23,7 +22,7 @@ DEFS=DATA_PATH=\\\"$(DATA_PATH)\\\" CONF_PATH=\\\"$(CONF_PATH)\\\" \ TRANSLATION_PATH=\\\"$(TRANSLATION_PATH)\\\" \ - DOC_PATH=\\\"$(DOC_PATH)\\\" THEMES_PATH=\\\"$(THEMES_PATH)\\\" \ + THEMES_PATH=\\\"$(THEMES_PATH)\\\" \ SHORTCUTS_PATH=\\\"$(SHORTCUTS_PATH)\\\" @@ -56,11 +55,6 @@ 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) @@ -84,8 +78,6 @@ -rm -f $(PREFIX)/bin/smplayer -rm -f $(DATA_PATH)/input.conf -rm -f $(TRANSLATION_PATH)/*.qm - -rm -f $(DOC_PATH)/Changelog - -rm -f $(DOC_PATH)/*.txt -rm -f $(SHORTCUTS_PATH)/*.keys -rm -f $(KDE_ICONS)/64x64/apps/smplayer.png -rm -f $(KDE_ICONS)/32x32/apps/smplayer.png @@ -101,8 +93,8 @@ # -for file in docs/*; do \ # rmdir $(DOC_PATH)/$${file/docs/}; \ # done; - -(cd docs && find -iname '*.html') | (cd $(DESTDIR)$(DOC_PATH) && xargs rm) - -(cd docs && find -type d -name '??') | (cd $(DESTDIR)$(DOC_PATH) && xargs rmdir) - -rmdir $(DOC_PATH)/ +# -(cd docs && find -iname '*.html') | (cd $(DESTDIR)$(DOC_PATH) && xargs rm) +# -(cd docs && find -type d -name '??') | (cd $(DESTDIR)$(DOC_PATH) && xargs rmdir) +# -rmdir $(DOC_PATH)/ -rmdir $(DATA_PATH)/