From: Neil Brown Date: Wed, 5 Jul 2006 00:30:51 +0000 (+1000) Subject: Avoid error creating an existing symlink X-Git-Tag: nfs-utils-1-0-9~15 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=fbb1602bbd34cbe89dd55ca6eaaa19432237db1d;p=nfs-utils.git Avoid error creating an existing symlink Just remove the link first. --- diff --git a/support/export/Makefile.am b/support/export/Makefile.am index 41769fa..a7c7062 100644 --- a/support/export/Makefile.am +++ b/support/export/Makefile.am @@ -39,6 +39,7 @@ $(GENFILES_XDR): %_xdr.c: %.x $(RPCGEN) $(GENFILES_H): %.h: %.x $(RPCGEN) test -f $@ && rm -rf $@ || true $(RPCGEN) -h -o $@ $< + rm -f $(top_builddir)/support/include/mount.h $(LN_S) ../export/mount.h $(top_builddir)/support/include/mount.h MAINTAINERCLEANFILES = Makefile.in