[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ttylinux:206] Re: git



Yegor Yefremov wrote:
  .
  .
  .
> I must admit, I don't really know how to make this in git, but you
> don't actually need an empty temp dir like build. See how Buildroot is
> dealing with this:
> 
> dirs: $(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
>         $(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
> 
> Just add something like this to your all target in main Makefile
> (somehow I'm missing all target)
> 
> Yegor
> 

The best my feeble Ggogle skills can find is:

... Secondly, empty directories do not get tracked
by Git. If you want them to be tracked, they need to
have something in them. Usually doing a touch .gitignore
is enough to keep the folder tracked.