~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to Makefile.install.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-06-26 00:17:17 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20060626001717-qi51nzty57cb12q6
Tags: upstream-3.2.0
Import upstream version 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
# It then copies libcoregrind.a and libvex.a to the right places.
11
11
 
12
12
install-exec-local:
13
 
        for f in $(noinst_PROGRAMS); do \
14
 
          p=`echo $$f | sed -e 's/^[^-]*-//' -e 's/\..*$$//'`; \
15
 
          n=`echo $$f | sed -e 's/-[^-]\{1,\}-[^-.]\{1,\}//'`; \
16
 
          $(mkinstalldirs) $(DESTDIR)$(valdir)/$$p; \
17
 
          $(INSTALL_PROGRAM) $$f $(DESTDIR)$(valdir)/$$p/$$n; \
18
 
        done ; \
19
 
        for f in $(noinst_LIBRARIES); do \
20
 
          if expr match $$f libcoregrind_ > /dev/null ; then \
21
 
            pU=`echo $$f | sed -e 's/libcoregrind_//g' -e 's/\.a//g'` ; \
22
 
            pD=`echo $$pU | sed -e 's/_/-/g'` ; \
23
 
            $(INSTALL_DATA) $$f $(DESTDIR)$(valdir)/$$pD/libcoregrind.a ; \
24
 
            $(INSTALL_DATA) @VEX_DIR@/libvex_$$pU.a $(DESTDIR)$(valdir)/$$pD/libvex.a ; \
25
 
          fi ; \
26
 
        done
 
13
        if [ -n "$(noinst_PROGRAMS)" ] ; then \
 
14
          for f in $(noinst_PROGRAMS); do \
 
15
            p=`echo $$f | sed -e 's/^[^-]*-//' -e 's/\..*$$//'`; \
 
16
            n=`echo $$f | sed -e 's/-[^-]\{1,\}-[^-.]\{1,\}//'`; \
 
17
            $(mkinstalldirs) $(DESTDIR)$(valdir)/$$p; \
 
18
            $(INSTALL_PROGRAM) $$f $(DESTDIR)$(valdir)/$$p/$$n; \
 
19
          done ; \
 
20
        fi ; \
 
21
        if [ -n "$(noinst_LIBRARIES)" ] ; then \
 
22
          for f in $(noinst_LIBRARIES); do \
 
23
            if expr match $$f libcoregrind_ > /dev/null ; then \
 
24
              pU=`echo $$f | sed -e 's/libcoregrind_//g' -e 's/\.a//g'` ; \
 
25
              pD=`echo $$pU | sed -e 's/_/-/g'` ; \
 
26
              $(INSTALL_DATA) $$f $(DESTDIR)$(valdir)/$$pD/libcoregrind.a ; \
 
27
              $(INSTALL_DATA) @VEX_DIR@/libvex_$$pU.a $(DESTDIR)$(valdir)/$$pD/libvex.a ; \
 
28
            fi ; \
 
29
          done ; \
 
30
        fi