tweak Makefile
authorNicolas Thill <nico@openwrt.org>
Mon, 3 Sep 2007 13:11:58 +0000 (13:11 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 3 Sep 2007 13:11:58 +0000 (13:11 +0000)
SVN-Revision: 8593

package/fonera-mp3/Makefile

index 6dea247fcae3d2d7508f075766dbbc336ab05a86..dabef8355396d56c2a260c48c4f3b94db55baed6 100644 (file)
@@ -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))