[Buildroot] [PATCH 1/5] lxdoom-wad: make installation of Doom shareware wad file be more generic
jacmet at uclibc.org
Thu Jul 24 14:45:01 UTC 2008
>>>>> "Bernhard" == Bernhard Fischer <rep.dot.nop at gmail.com> writes:
>> cp -f $(DL_DIR)/$(LXDOOM_WAD_SOURCE) $(LXDOOM_WAD_DIR)
>> - gunzip -d $(LXDOOM_WAD_DIR)/$(LXDOOM_WAD_SOURCE)
>> + gunzip -d $(LXDOOM_WAD_DIR)/$(LXDOOM_WAD_SOURCE)
Bernhard> no. There is no gunzip. So who added this stuff? I'm 100%
Bernhard> sure that when i left there were no hardcoded decompressors
Bernhard> in there. You should listen to what user say
Bernhard> (resp. configure).
Yes, $(ZCAT) is what you want.
>> +$(TARGET_DIR)/usr/share/games/doom/doom1.wad: $(LXDOOM_WAD_DIR)/.unpacked
>> + mkdir -p $(TARGET_DIR)/usr/share/games/doom
>> + cp -f $(LXDOOM_WAD_DIR)/doom-$(LXDOOM_WAD_VERSION).wad $@
Bernhard> $(INSTALL) -D $(LXDOOM_WAD_DIR)/doom-$(LXDOOM_WAD_VERSION).wad $@
Yes, as long as you don't try to do it with symlinks (E.G. like what
you have with .so files) as install then resolves the symlinks and you
end up with multiple copies in your rootfs.
.. Like I recently learned the hard way (22862) ;)
Bye, Peter Korsgaard
More information about the buildroot