summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-03 13:11:58 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-03 13:11:58 +0000
commitd0c041687a405097b319e2c4df114837b10e6a95 (patch)
treed18c9aa1a173c733cf1cfd26362c1f736e377aa4 /package
parent547fd77e20851ea736268afd16f0341ce0843b95 (diff)
tweak Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8593 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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))