bugfix: using libtool for installation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@112 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -11,7 +11,7 @@ install: install_libvpcd
|
||||
|
||||
install_libvpcd: libvpcd.la
|
||||
$(mkinstalldirs) $(DESTDIR)$(serialdropdir)
|
||||
cp .libs/$(VPCD_LIB) $(DESTDIR)$(serialdropdir)/$(VPCD_LIB).$(VERSION)
|
||||
$(LIBTOOL) --mode=install cp .libs/$(VPCD_LIB) $(DESTDIR)$(serialdropdir)/$(VPCD_LIB).$(VERSION)
|
||||
ln -fs $(VPCD_LIB).$(VERSION) $(DESTDIR)$(serialdropdir)/$(VPCD_LIB)
|
||||
if [ -e $(DESTDIR)$(sysconfdir)/reader.conf ] ; \
|
||||
then \
|
||||
@@ -24,4 +24,5 @@ install_libvpcd: libvpcd.la
|
||||
uninstall: uninstall_libvpcd
|
||||
|
||||
uninstall_libvpcd:
|
||||
rm -f $(DESTDIR)$(serialdropdir)/$(VPCD_LIB).$(VERSION)
|
||||
rm -f $(DESTDIR)$(serialdropdir)/$(VPCD_LIB).$(VERSION) \
|
||||
$(DESTDIR)$(serialdropdir)/$(VPCD_LIB)
|
||||
|
||||
Reference in New Issue
Block a user