mirror of
https://git.busybox.net/buildroot.git
synced 2025-01-27 06:43:39 +08:00
package/liberation/liberation.mk: A further tidy up.....
Use touch -c $@ Do not install fonts into staging dir. Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
This commit is contained in:
parent
0875bc85bb
commit
8e583fd0f7
@ -16,23 +16,17 @@ liberation-source: $(DL_DIR)/$(LIBERATION_SOURCE)
|
|||||||
|
|
||||||
$(LIBERATION_DIR)/.unpacked: $(DL_DIR)/$(LIBERATION_SOURCE)
|
$(LIBERATION_DIR)/.unpacked: $(DL_DIR)/$(LIBERATION_SOURCE)
|
||||||
$(LIBERATION_CAT) $(DL_DIR)/$(LIBERATION_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(LIBERATION_CAT) $(DL_DIR)/$(LIBERATION_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
touch $(LIBERATION_DIR)/.unpacked
|
touch -c $@
|
||||||
|
|
||||||
$(STAGING_DIR)/usr/share/fonts/LiberationMono-Bold.ttf: $(LIBERATION_DIR)/.unpacked
|
$(TARGET_DIR)/usr/share/fonts/LiberationMono-Bold.ttf: $(LIBERATION_DIR)/.unpacked
|
||||||
-mkdir -p $(STAGING_DIR)/usr/share/fonts/liberation
|
|
||||||
$(INSTALL) -m0644 $(LIBERATION_DIR)/*.ttf $(STAGING_DIR)/usr/share/fonts/liberation/
|
|
||||||
touch -c $(STAGING_DIR)/usr/share/fonts/.ttf
|
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/share/fonts/LiberationMono-Bold.ttf: $(STAGING_DIR)/usr/share/fonts/LiberationMono-Bold.ttf
|
|
||||||
-mkdir -p $(TARGET_DIR)/usr/share/fonts/liberation
|
-mkdir -p $(TARGET_DIR)/usr/share/fonts/liberation
|
||||||
$(INSTALL) -m0644 $(LIBERATION_DIR)/*.ttf $(TARGET_DIR)/usr/share/fonts/liberation/
|
$(INSTALL) -m0644 $(LIBERATION_DIR)/*.ttf $(TARGET_DIR)/usr/share/fonts/liberation/
|
||||||
touch -c $(TARGET_DIR)/usr/share/fonts/.ttf
|
touch -c $@
|
||||||
|
|
||||||
liberation: uclibc $(TARGET_DIR)/usr/share/fonts/LiberationMono-Bold.ttf
|
liberation: uclibc $(TARGET_DIR)/usr/share/fonts/LiberationMono-Bold.ttf
|
||||||
|
|
||||||
liberation-clean:
|
liberation-clean:
|
||||||
rm -rf $(TARGET_DIR)/usr/share/fonts/liberation/
|
rm -rf $(TARGET_DIR)/usr/share/fonts/liberation/
|
||||||
rm -rf $(STAGING_DIR)/usr/share/fonts/liberation/
|
|
||||||
|
|
||||||
liberation-dirclean:
|
liberation-dirclean:
|
||||||
rm -rf $(LIBERATION_DIR)
|
rm -rf $(LIBERATION_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user