.PP
.I Mmvpatch
also determines the best way to uniquely identify directories.
---- mmv-1.01b.orig/Makefile
-+++ mmv-1.01b/Makefile
-@@ -1,10 +1,10 @@
+Index: mmv/Makefile
+===================================================================
+--- mmv.orig/Makefile 2012-09-16 18:24:31.375886230 +0200
++++ mmv/Makefile 2012-09-16 18:24:46.260122528 +0200
+@@ -1,16 +1,16 @@
# Possible defines in CONF:
# IS_MSDOS IS_SYSV IS_V7 IS_BSD HAS_DIRENT HAS_RENAME MV_DIR
LDFLAGS =-s -N
#IBIN =$(LOCAL)$(ARCH)/bin
+ #IMAN =$(LOCAL)$(ANY)/man
+ IBIN=$(DESTDIR)/usr/bin/
+-IMAN=$(DESTDIR)/usr/man/
++IMAN=$(DESTDIR)/usr/share/man/
+
+ mmv: mmv.o
+
dh_testdir
test -f build || $(MAKE) -f debian/rules build
# Makes a binary package.
- /bin/rm -rf debian/tmp
test -f stamp-build || $(MAKE) -f debian/rules build
dh_installdirs
- dh_install
+ dh_auto_install
dh_strip
- dh_installman
- (cd debian/tmp/usr/bin;\
+ (cd debian/mmv/usr/bin;\
ln -s mmv mcp; \
ln -s mmv mad; \
ln -s mmv mln;)
- (cd debian/tmp/usr/share/man/man1;\
+ (cd debian/mmv/usr/share/man/man1;\
ln -s mmv.1.gz mcp.1.gz; \
ln -s mmv.1.gz mad.1.gz; \
ln -s mmv.1.gz mln.1.gz;)
- install -d -g root -m 755 -o root debian/tmp/usr/share/doc/$(p)
+ install -d -g root -m 755 -o root debian/mmv/usr/share/doc/$(p)
dh_installdocs
dh_installchangelogs
dh_compress