Makefile: more fix for #1312

This commit is contained in:
Nguyen Anh Quynh 2018-12-19 09:21:07 +07:00
parent 863044dc31
commit 9ecc20f1bb

View File

@ -409,15 +409,15 @@ ifeq ($(CAPSTONE_STATIC),yes)
endif
mkdir -p $(DESTDIR)$(INCDIR)/$(LIBNAME)
$(INSTALL_DATA) include/capstone/*.h $(DESTDIR)$(INCDIR)/$(LIBNAME)
mkdir -p $(DESTDIR)$(PKGCFGDIR)
$(INSTALL_DATA) $(PKGCFGF) $(DESTDIR)$(PKGCFGDIR)
mkdir -p $(DESTDIR)$(BINDIR)
$(INSTALL_LIB) cstool/cstool $(DESTDIR)$(BINDIR)
mkdir -p $(PKGCFGDIR)
$(INSTALL_DATA) $(PKGCFGF) $(PKGCFGDIR)
mkdir -p $(BINDIR)
$(INSTALL_LIB) cstool/cstool $(BINDIR)
uninstall:
rm -rf $(DESTDIR)$(INCDIR)/$(LIBNAME)
rm -f $(DESTDIR)$(LIBDIR)/lib$(LIBNAME).*
rm -f $(DESTDIR)$(PKGCFGDIR)/$(LIBNAME).pc
rm -f $(PKGCFGDIR)/$(LIBNAME).pc
rm -f $(DESTDIR)$(BINDIR)/cstool
clean: