/[pcsclite]/trunk/Drivers/ccid/src/Makefile.am
ViewVC logotype

Diff of /trunk/Drivers/ccid/src/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 460 by rousseau, Tue Sep 16 14:18:42 2003 UTC revision 461 by rousseau, Mon Sep 22 14:22:51 2003 UTC
# Line 35  EXTRA_DIST = Info.plist reader.conf.in Line 35  EXTRA_DIST = Info.plist reader.conf.in
35  install: install_ccid install_ccidtwin  install: install_ccid install_ccidtwin
36    
37  install_ccid: libccid.la  install_ccid: libccid.la
38          mkdir -p $(CCID_BUNDLE)/Contents/$(BUNDLE_HOST)/          $(mkinstalldirs) $(DESTDIR)$(usbdropdir)/$(CCID_BUNDLE)/Contents/$(BUNDLE_HOST)/
39          cp .libs/$(CCID_LIB) $(CCID_BUNDLE)/Contents/$(BUNDLE_HOST)/$(CCID_LIB).$(VERSION)          cp .libs/$(CCID_LIB) $(DESTDIR)$(usbdropdir)/$(CCID_BUNDLE)/Contents/$(BUNDLE_HOST)/$(CCID_LIB).$(VERSION)
40          sed s/VERSION/$(VERSION)/ $(srcdir)/Info.plist | sed s/TARGET/$(CCID_LIB)/ > $(CCID_BUNDLE)/Contents/Info.plist          sed s/VERSION/$(VERSION)/ $(srcdir)/Info.plist | sed s/TARGET/$(CCID_LIB)/ > $(DESTDIR)$(usbdropdir)/$(CCID_BUNDLE)/Contents/Info.plist
         $(mkinstalldirs) $(DESTDIR)$(usbdropdir)  
         cp -r $(CCID_BUNDLE) $(DESTDIR)$(usbdropdir)  
41    
42  install_ccidtwin: libccidtwin.la  install_ccidtwin: libccidtwin.la
         perl -ne "s|TARGET|$(CCIDFTWIN_PATH)/$(CCIDTWIN_LIB).$(VERSION)| ; print" $(srcdir)/reader.conf.in > reader.conf  
43          $(mkinstalldirs) $(DESTDIR)$(CCIDFTWIN_PATH)          $(mkinstalldirs) $(DESTDIR)$(CCIDFTWIN_PATH)
44          cp .libs/$(CCIDTWIN_LIB) $(DESTDIR)$(CCIDFTWIN_PATH)/$(CCIDTWIN_LIB).$(VERSION)          cp .libs/$(CCIDTWIN_LIB) $(DESTDIR)$(CCIDFTWIN_PATH)/$(CCIDTWIN_LIB).$(VERSION)
45          if [ -e $(DESTDIR)/etc/reader.conf ] ; \          if [ -e $(DESTDIR)/etc/reader.conf ] ; \
46          then \          then \
47                  @echo "Edit existing /etc/reader.conf" ; \                  echo "Edit existing /etc/reader.conf" ; \
48          else \          else \
49                  $(mkinstalldirs) $(DESTDIR)/etc ; \                  $(mkinstalldirs) $(DESTDIR)/etc ; \
50                  cp reader.conf $(DESTDIR)/etc/ ; \                  perl -ne "s|TARGET|$(CCIDFTWIN_PATH)/$(CCIDTWIN_LIB).$(VERSION)| ; print" $(srcdir)/reader.conf.in > $(DESTDIR)/etc/reader.conf ; \
51          fi          fi
52    
53  uninstall: uninstall_ccid uninstall_ccidtwin  uninstall: uninstall_ccid uninstall_ccidtwin

Legend:
Removed from v.460  
changed lines
  Added in v.461

  ViewVC Help
Powered by ViewVC 1.1.5