aboutsummaryrefslogtreecommitdiffstats
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
commit7f1da269e96db122b74450090529ddd3361d9bf9 (patch)
treed18c9aa1a173c733cf1cfd26362c1f736e377aa4
parentd6114c26006d6b0ee16b31802124a936ceafc75b (diff)
downloadmaster-187ad058-7f1da269e96db122b74450090529ddd3361d9bf9.tar.gz
master-187ad058-7f1da269e96db122b74450090529ddd3361d9bf9.tar.bz2
master-187ad058-7f1da269e96db122b74450090529ddd3361d9bf9.zip
tweak Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8593 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 6dea247fca..dabef83553 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))