Hi Folks As noone came up with a solution for this IMHO missing feature in builtool I use a simple solution to overcome this. I need this right now to access whole directories instead of unpacking tarballs, e.g. for webconf. This makes it easier to track modifications.
I have now in buildtool.mk for webconf REPODIR:=$(shell dirname `readlink buildtool.mk`) TARGET_DIR:=$(BT_BUILD_DIR)/webconf LINKS=etc\ var $(LINKS): ln -s $(REPODIR)/$@ $@ source: .source .source: $(LINKS) touch .source .build: .source mkdir -p $(TARGET_DIR) mkdir -p $(TARGET_DIR)/etc/init.d mkdir -p $(TARGET_DIR)/etc/webconf mkdir -p $(TARGET_DIR)/var/webconf cp -a etc/init.d/webconf $(TARGET_DIR)/etc/init.d cp -a etc/webconf/* $(TARGET_DIR)/etc/webconf cp -a var/webconf/* $(TARGET_DIR)/var/webconf cp -a $(TARGET_DIR)/* $(BT_STAGING_DIR) touch .build any comments? cheers Erich
smime.p7s
Description: S/MIME Kryptografische Unterschrift
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel