Mercurial > mplayer.hg
comparison Makefile @ 26795:488f86cbc522
Merge directory installation commands.
author | diego |
---|---|
date | Sun, 18 May 2008 17:38:16 +0000 |
parents | cf60ce406b0b |
children | 4fb30593ab3d |
comparison
equal
deleted
inserted
replaced
26794:cf60ce406b0b | 26795:488f86cbc522 |
---|---|
812 ###### installation rules ####### | 812 ###### installation rules ####### |
813 | 813 |
814 install: $(INSTALL_TARGETS-yes) | 814 install: $(INSTALL_TARGETS-yes) |
815 | 815 |
816 install-dirs: | 816 install-dirs: |
817 $(INSTALL) -d $(BINDIR) | 817 $(INSTALL) -d $(BINDIR) $(CONFDIR) |
818 $(INSTALL) -d $(CONFDIR) | |
819 | 818 |
820 install-%: %$(EXESUF) install-dirs | 819 install-%: %$(EXESUF) install-dirs |
821 $(INSTALL) -m 755 $(INSTALLSTRIP) $< $(BINDIR) | 820 $(INSTALL) -m 755 $(INSTALLSTRIP) $< $(BINDIR) |
822 | 821 |
823 install-mplayer-man: $(foreach lang,$(MAN_LANG_ALL),install-mplayer-man-$(lang)) | 822 install-mplayer-man: $(foreach lang,$(MAN_LANG_ALL),install-mplayer-man-$(lang)) |
844 $(foreach lang,$(MAN_LANG),$(eval $(MPLAYER_MAN_RULE))) | 843 $(foreach lang,$(MAN_LANG),$(eval $(MPLAYER_MAN_RULE))) |
845 $(foreach lang,$(MAN_LANG),$(eval $(MENCODER_MAN_RULE))) | 844 $(foreach lang,$(MAN_LANG),$(eval $(MENCODER_MAN_RULE))) |
846 | 845 |
847 install-gui: install-mplayer | 846 install-gui: install-mplayer |
848 -ln -sf mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF) | 847 -ln -sf mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF) |
849 $(INSTALL) -d $(DATADIR)/skins | 848 $(INSTALL) -d $(DATADIR)/skins $(prefix)/share/pixmaps $(prefix)/share/applications |
850 $(INSTALL) -d $(prefix)/share/pixmaps | |
851 $(INSTALL) -m 644 etc/mplayer.xpm $(prefix)/share/pixmaps/ | 849 $(INSTALL) -m 644 etc/mplayer.xpm $(prefix)/share/pixmaps/ |
852 $(INSTALL) -d $(prefix)/share/applications | |
853 $(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/ | 850 $(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/ |
854 | 851 |
855 uninstall: | 852 uninstall: |
856 rm -f $(BINDIR)/mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF) | 853 rm -f $(BINDIR)/mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF) |
857 rm -f $(BINDIR)/mencoder$(EXESUF) | 854 rm -f $(BINDIR)/mencoder$(EXESUF) |