Skip to content

Commit

Permalink
Don't install base python scripts in dist-packages
Browse files Browse the repository at this point in the history
Often ends up in wrong dir, and did not prove useful in the end
Fixes #678
  • Loading branch information
falkTX committed Aug 8, 2018
1 parent 64c1660 commit 8d1b48b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ install_main:
install -d $(DESTDIR)$(BINDIR)
ifeq ($(LINUX),true)
install -d $(DESTDIR)$(LIBDIR)/carla/jack
install -d $(DESTDIR)$(LIBDIR)/python3/dist-packages
else
install -d $(DESTDIR)$(LIBDIR)/carla
endif
Expand Down Expand Up @@ -458,14 +457,6 @@ endif
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \
$(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc

ifeq ($(LINUX),true)
# Install python code (dist-packages)
install -m 644 \
source/carla_backend.py \
source/carla_utils.py \
$(DESTDIR)$(LIBDIR)/python3/dist-packages
endif

# Install headers
install -m 644 \
source/backend/CarlaBackend.h \
Expand Down

0 comments on commit 8d1b48b

Please sign in to comment.