Commit c3430358 authored by Daniel Laird's avatar Daniel Laird
Browse files

package/liberation/liberation.mk: Correct the makefile to what it should have been



Correct the makefile so that it works and is what I originally planned to add.

Signed-off-by: default avatarDaniel Laird <daniel.j.laird@nxp.com>
parent 94b61800
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -18,12 +18,12 @@ $(LIBERATION_DIR)/.unpacked: $(DL_DIR)/$(LIBERATION_SOURCE)
	$(LIBERATION_CAT) $(DL_DIR)/$(LIBERATION_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
	touch $(LIBERATION_DIR)/.unpacked

$(STAGING_DIR)/usr/share/fonts/.ttf: $(LIBERATION_DIR)/.unpacked
$(STAGING_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/.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
	$(INSTALL) -m0644 $(LIBERATION_DIR)/*.ttf $(TARGET_DIR)/usr/share/fonts/liberation/
	touch -c $(TARGET_DIR)/usr/share/fonts/.ttf