Browse Source

Install the new header and pkg-config files

tags/v1.9.11
falkTX 6 years ago
parent
commit
6230243c0d
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      Makefile

+ 7
- 0
Makefile View File

@@ -316,14 +316,17 @@ endif

# Adjust PREFIX, LIBDIR and INCLUDEDIR in pkg-config files
sed $(SED_ARGS) 's?X-PREFIX-X?$(PREFIX)?' \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-native-plugin.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc

sed $(SED_ARGS) 's?X-LIBDIR-X?$(LIBDIR)?' \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-native-plugin.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc

sed $(SED_ARGS) 's?X-INCLUDEDIR-X?$(INCLUDEDIR)?' \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-native-plugin.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc

@@ -340,6 +343,8 @@ endif
install -m 644 \
source/includes/CarlaDefines.h \
source/includes/CarlaMIDI.h \
source/includes/CarlaNative.h \
source/includes/CarlaNativePlugin.h \
$(DESTDIR)$(INCLUDEDIR)/carla/includes

# -------------------------------------------------------------------------------------------------------------
@@ -552,7 +557,9 @@ install: install_main install_external_plugins

uninstall:
rm -f $(DESTDIR)$(BINDIR)/carla*
rm -f $(DESTDIR)$(LIBDIR)/pkgconfig/carla-native-plugin.pc
rm -f $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc
rm -f $(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc
rm -f $(DESTDIR)$(DATADIR)/applications/carla.desktop
rm -f $(DESTDIR)$(DATADIR)/applications/carla-control.desktop
rm -f $(DESTDIR)$(DATADIR)/icons/hicolor/*/apps/carla.png


Loading…
Cancel
Save