mkvtoolnix/contrib/suse-mmg-rename.diff

40 lines
1.3 KiB
Diff

diff -ur mkvtoolnix-2.9.8.orig/Makefile.in mkvtoolnix-2.9.8/Makefile.in
--- mkvtoolnix-2.9.8.orig/Makefile.in 2009-08-13 12:32:50.000000000 +0200
+++ mkvtoolnix-2.9.8/Makefile.in 2009-08-13 18:46:57.462879372 +0200
@@ -160,8 +160,8 @@
APPLICATIONS = src/mkvmerge@EXEEXT@ src/mkvinfo@EXEEXT@ src/mkvextract@EXEEXT@
MANPAGES = doc/man/mkvmerge.1 doc/man/mkvinfo.1 doc/man/mkvextract.1
ifeq (yes,$(USE_WXWIDGETS))
-APPLICATIONS += src/mmg/mmg@EXEEXT@
-MANPAGES += doc/man/mmg.1
+APPLICATIONS += src/mmg/mkvmerge-gui@EXEEXT@
+MANPAGES += doc/man/mkvmerge-gui.1
endif
TRANSLATIONS = @TRANSLATIONS@
@@ -235,6 +235,7 @@
install-programs: $(APPLICATIONS)
$(mkinstalldirs) $(DESTDIR)$(bindir)
+ mv src/mmg/mmg@EXEEXT@ src/mmg/mkvmerge-gui@EXEEXT@
@list='$(APPLICATIONS)'; for p in $$list; do \
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
if test -f $$p ; then \
@@ -246,6 +247,7 @@
install-mans:
$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ mv doc/man/mmg.1 doc/man/mkvmerge-gui.1
@for i in $(MANPAGES); do \
inst=`echo $$i | sed -e 's/^.*\///'`; \
echo " $(INSTALL_DATA) $$i $(DESTDIR)$(man1dir)/$$inst"; \
@@ -549,6 +551,8 @@
@echo ' LINK ' $@
$(Q)$(LINK) -o $@ $(mmg_OBJECTS) $(mmg_LDADD)
+src/mmg/mkvmerge-gui@EXEEXT@: src/mmg/mmg@EXEEXT@
+
.SECONDARY:
#