Update THANKS.
[lilypond.git] / stepmake / stepmake / install-library-targets.make
blob2662fbe3b172e77871b48eced0e62d4ecebc07a1
2 local-install: $(LIBRARY)
3 ifneq ($(strip $(INSTALL_HEADERS)),)
4 $(INSTALLPY) -d $(DESTDIR)$(includedir)
5 $(INSTALLPY) $(INSTALL_HEADERS) $(DESTDIR)$(includedir)
6 endif
7 ifeq ($(LIB_SUFFIX),.so)
8 $(INSTALLPY) -d $(DESTDIR)$(libdir)
9 $(INSTALLPY) $(LIBRARY) $(DESTDIR)$(libdir)/$(INSTALL_LIBRARY).$(VERSION)
10 ln -s $(LIB_PREFIX)intl$(LIB_SUFFIX).$(VERSION) $(DESTDIR)$(libdir)/$(LIB_PREFIX)intl$(LIB_SUFFIX).$(MAJOR_VERSION)
11 ln -s $(LIB_PREFIX)intl$(LIB_SUFFIX).$(VERSION) $(DESTDIR)$(libdir)/$(LIB_PREFIX)intl$(LIB_SUFFIX)
12 else
13 $(INSTALLPY) -d $(DESTDIR)$(libdir)
14 $(INSTALLPY) $(LIBRARY) $(DESTDIR)$(libdir)/$(INSTALL_LIBRARY)
15 endif
17 local-uninstall:
18 ifneq ($(strip $(INSTALL_HEADERS)),)
19 rm -f $(addprefix $(DESTDIR)$(includedir)/, $(INSTALL_HEADERS))
20 endif
21 rm -f $(DESTDIR)$(libdir)/$(INSTALL_LIBRARY)