summaryrefslogtreecommitdiff
path: root/package/fonera-mp3
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-03 13:11:58 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-03 13:11:58 +0000
commit550f71e70d0ca7d1d7288b2bb7f591d286cb9c2d (patch)
tree01e5380cd4c54658165ebf3676c0562430ea92cf /package/fonera-mp3
parent5b4bfbd6d4e17f601cbf66d998cc788a62ac3f4d (diff)
downloadmtk-20170518-550f71e70d0ca7d1d7288b2bb7f591d286cb9c2d.zip
mtk-20170518-550f71e70d0ca7d1d7288b2bb7f591d286cb9c2d.tar.gz
mtk-20170518-550f71e70d0ca7d1d7288b2bb7f591d286cb9c2d.tar.bz2
tweak Makefile
SVN-Revision: 8593
Diffstat (limited to 'package/fonera-mp3')
-rw-r--r--package/fonera-mp3/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/fonera-mp3/Makefile b/package/fonera-mp3/Makefile
index 6dea247..dabef83 100644
--- a/package/fonera-mp3/Makefile
+++ b/package/fonera-mp3/Makefile
@@ -48,12 +48,12 @@ define Package/fonera-mp3d/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mp3d $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/mplay $(1)/usr/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_BIN) $(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
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/cgi/{stylesheet.css,json.js} $(1)/www/local/
endef
$(eval $(call BuildPackage,fonera-mp3d))