force install notmuch-setup.1 symlink
authorJameson Graef Rollins <jrollins@finestructure.net>
Tue, 27 Dec 2011 17:23:47 +0000 (09:23 -0800)
committerDavid Bremner <bremner@debian.org>
Sat, 31 Dec 2011 19:16:32 +0000 (15:16 -0400)
This will prevent the install from failing if the link already exists.

man/Makefile.local

index a3ae8976318c1d6403a690ecfac6bf7af0f26279..d43a949cf4454ab176c92ad1360c187a2a768a3e 100644 (file)
@@ -41,7 +41,7 @@ install-man: $(COMPRESSED_MAN)
        install -m0644 $(MAN1_GZ) $(DESTDIR)/$(mandir)/man1
        install -m0644 $(MAN5_GZ) $(DESTDIR)/$(mandir)/man5
        install -m0644 $(MAN7_GZ) $(DESTDIR)/$(mandir)/man7
-       cd $(DESTDIR)/$(mandir)/man1 && ln -s notmuch.1.gz notmuch-setup.1.gz
+       cd $(DESTDIR)/$(mandir)/man1 && ln -sf notmuch.1.gz notmuch-setup.1.gz
 
 verify-version-manpage: verify-version-components
        @echo -n "Checking that manual page version is $(VERSION)..."