tweak Makefile

SVN-Revision: 8593
This commit is contained in:
Nicolas Thill 2007-09-03 13:11:58 +00:00
parent 5b4bfbd6d4
commit 550f71e70d

View file

@ -48,12 +48,12 @@ define Package/fonera-mp3d/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mp3d $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/mp3d $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/mplay $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/mplay $(1)/usr/bin/
$(INSTALL_DIR) $(1)/www/cgi-bin $(INSTALL_DIR) $(1)/www/cgi-bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cgi/mp3.cgi $(1)/www/cgi-bin/
ln -sf mp3.cgi $(1)/www/cgi-bin/mp3_cmd.cgi
ln -sf mp3.cgi $(1)/www/cgi-bin/mp3_json.cgi
ln -sf mp3.cgi $(1)/www/cgi-bin/mp3_remote.cgi
$(INSTALL_DIR) $(1)/www/local $(INSTALL_DIR) $(1)/www/local
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cgi/{stylesheet.css,json.js} $(1)/www/local $(INSTALL_DATA) $(PKG_BUILD_DIR)/cgi/{stylesheet.css,json.js} $(1)/www/local/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cgi/mp3.cgi $(1)/www/cgi-bin
ln -s mp3.cgi $(1)/www/cgi-bin/mp3_cmd.cgi
ln -s mp3.cgi $(1)/www/cgi-bin/mp3_json.cgi
ln -s mp3.cgi $(1)/www/cgi-bin/mp3_remote.cgi
endef endef
$(eval $(call BuildPackage,fonera-mp3d)) $(eval $(call BuildPackage,fonera-mp3d))