remove $(pkcs11dir)/opensc-pkcs11.so so that creating the symbolink link

does not fail if the file already exists.

Thanks to Jean-Pierre Szikora for the bug report


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3314 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
ludovic.rousseau 2008-01-11 16:28:00 +00:00
parent e9135ff347
commit 91288d4955
1 changed files with 1 additions and 0 deletions

View File

@ -49,4 +49,5 @@ pkcs11-jar: jar-dir
# see http://wiki.cacert.org/wiki/Pkcs11TaskForce
pkcs11_DATA = #This will create the directory
install-data-hook:
$(RM) $(DESTDIR)$(pkcs11dir)/opensc-pkcs11.so
$(LN_S) ../opensc-pkcs11.so $(DESTDIR)$(pkcs11dir)/opensc-pkcs11.so