mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Reposition irrlicht timestamp in makefile
This commit is contained in:
parent
05f4e9ee08
commit
c849d32a10
@ -399,12 +399,6 @@ freetype_download :
|
|||||||
git clone ${FREETYPE_URL_GIT} || exit 1; \
|
git clone ${FREETYPE_URL_GIT} || exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$(IRRLICHT_TIMESTAMP) : irrlicht_download
|
|
||||||
@LAST_MODIF=$$(find ${IRRLICHT_DIR} -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "); \
|
|
||||||
if [ $$(basename $$LAST_MODIF) != "timestamp" ] ; then \
|
|
||||||
touch ${IRRLICHT_TIMESTAMP}; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
freetype : $(FREETYPE_LIB)
|
freetype : $(FREETYPE_LIB)
|
||||||
|
|
||||||
$(FREETYPE_LIB) : $(FREETYPE_TIMESTAMP)
|
$(FREETYPE_LIB) : $(FREETYPE_TIMESTAMP)
|
||||||
@ -454,6 +448,12 @@ irrlicht_download :
|
|||||||
patch -p1 < ../../irrlicht-texturehack.patch || exit 1; \
|
patch -p1 < ../../irrlicht-texturehack.patch || exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
$(IRRLICHT_TIMESTAMP) : irrlicht_download
|
||||||
|
@LAST_MODIF=$$(find ${IRRLICHT_DIR} -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "); \
|
||||||
|
if [ $$(basename $$LAST_MODIF) != "timestamp" ] ; then \
|
||||||
|
touch ${IRRLICHT_TIMESTAMP}; \
|
||||||
|
fi
|
||||||
|
|
||||||
irrlicht : $(IRRLICHT_LIB)
|
irrlicht : $(IRRLICHT_LIB)
|
||||||
|
|
||||||
$(IRRLICHT_LIB): $(IRRLICHT_TIMESTAMP) $(FREETYPE_LIB)
|
$(IRRLICHT_LIB): $(IRRLICHT_TIMESTAMP) $(FREETYPE_LIB)
|
||||||
|
Loading…
Reference in New Issue
Block a user