Browse Source

package/oprofile: install events dir along with package

Phil Sutter 13 năm trước cách đây
mục cha
commit
9624a9e3ca
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      package/oprofile/Makefile

+ 2 - 1
package/oprofile/Makefile

@@ -25,10 +25,11 @@ $(eval $(call PKG_template,OPROFILE,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${
 CONFIGURE_ARGS+=	--with-kernel-support
 
 post-install:
-	$(INSTALL_DIR) $(IDIR_OPROFILE)/usr/bin
+	$(INSTALL_DIR) $(IDIR_OPROFILE)/usr/{bin,share}
 	$(INSTALL_BIN) $(WRKINST)/usr/bin/opcontrol $(IDIR_OPROFILE)/usr/bin/
 	$(INSTALL_BIN) $(WRKINST)/usr/bin/ophelp $(IDIR_OPROFILE)/usr/bin/
 	$(INSTALL_BIN) $(WRKINST)/usr/bin/opreport $(IDIR_OPROFILE)/usr/bin/
 	$(INSTALL_BIN) $(WRKINST)/usr/bin/oprofiled $(IDIR_OPROFILE)/usr/bin/
+	${CP} ${WRKINST}/usr/share/oprofile ${IDIR_OPROFILE}/usr/share/
 
 include ${TOPDIR}/mk/pkg-bottom.mk