]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Avoid error creating an existing symlink
authorNeil Brown <neilb@suse.de>
Wed, 5 Jul 2006 00:30:51 +0000 (10:30 +1000)
committerNeil Brown <neilb@suse.de>
Wed, 5 Jul 2006 00:30:51 +0000 (10:30 +1000)
Just remove the link first.

support/export/Makefile.am

index 41769faf2f35890a0fccbd05c3fd4a1e07203875..a7c7062be854702a0a2f3b94e3744bb99c6cae69 100644 (file)
@@ -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