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 41769fa..a7c7062 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