Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/liberationfonts/liberation-fonts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Rıza KESKİN <parduscix@yandex.ru>2020-12-04 16:20:13 +0300
committerAli Rıza KESKİN <parduscix@yandex.ru>2020-12-04 16:20:13 +0300
commit23ea3117140966288be8a7fd15a885c5deea39bb (patch)
treed5d01490013a8e3e86c234d5f1ab1b5177bc216e
parent0f2eacfe16670ea841763be3636bdef60b0d7788 (diff)
fix makefile clean function & add install function for packaging
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7911cb2..a77e5de 100644
--- a/Makefile
+++ b/Makefile
@@ -125,7 +125,12 @@ clean: clean-dist
rm -rf -- $(DISTPREFIX)* $(DISTPREFIX_TTF)*
rm -rf -- $(EXPORTDIR)
rm -f -- $(CHECK_PREFIX)_*
+ rm -f src/*.ttf
clean-dist:
rm -f -- *.tar.gz *.zip
+
+install:
+ mkdir -p $(DESTDIR)/usr/share/fonts/$(DISTPREFIX_TTF) || true
+ install $(DISTPREFIX_TTF)/* $(DESTDIR)/usr/share/fonts/$(DISTPREFIX_TTF)
.PHONY: all build ttf-dir ttf dist dist-src dist-sfd dist-ttf 4web $(FORMATS) check clean clean-dist