Skip to content

Commit

Permalink
build: fixing install path
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaeddert committed Sep 9, 2020
1 parent 0fea7c4 commit 794a088
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1227,12 +1227,11 @@ help:
install: all
@echo "installing..."
@echo ""
mkdir -p $(DESTDIR)$(prefix)/include
mkdir -p $(DESTDIR)$(prefix)/include/liquid
mkdir -p $(DESTDIR)$(exec_prefix)$(libdir)
#install -m 644 -p $(SHARED_LIB) libliquid.a $(DESTDIR)$(libdir)
install -m 644 -p ${ARCHIVE_LIB} ${SHARED_LIB} $(DESTDIR)$(exec_prefix)$(libdir)
install -m 644 -p $(addprefix include/,$(headers_install)) $(DESTDIR)$(prefix)/include/liquid
mkdir -p $(prefix)/include
mkdir -p $(prefix)/include/liquid
mkdir -p $(libdir)
install -m 644 -p ${ARCHIVE_LIB} ${SHARED_LIB} $(libdir)
install -m 644 -p $(addprefix include/,$(headers_install)) $(prefix)/include/liquid
@echo ""
@echo "---------------------------------------------------------"
@echo " liquid-dsp was successfully installed. "
Expand All @@ -1241,7 +1240,7 @@ install: all
@echo " libraries by running 'ldconfig' to make the shared"
@echo " object available. You might also need to modify your"
@echo " LD_LIBRARY_PATH environment variable to include the"
@echo " directory $(DESTDIR)$(exec_prefix)"
@echo " directory $(exec_prefix)"
@echo ""
@echo " Please report bugs to $(BUGREPORT)"
@echo "---------------------------------------------------------"
Expand All @@ -1253,9 +1252,9 @@ install: all

uninstall:
@echo "uninstalling..."
$(RM) $(addprefix $(DESTDIR)$(prefix)/include/liquid/, $(headers_install))
$(RM) $(DESTDIR)$(exec_prefix)$(libdir)/${ARCHIVE_LIB}
$(RM) $(DESTDIR)$(exec_prefix)$(libdir)/${SHARED_LIB}
$(RM) $(addprefix $(prefix)/include/liquid/, $(headers_install))
$(RM) $(libdir)/${ARCHIVE_LIB}
$(RM) $(libdir)/${SHARED_LIB}
@echo "done."

##
Expand Down

0 comments on commit 794a088

Please sign in to comment.