summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-10-17 15:17:28 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-10-17 15:17:28 -0300
commite9a0335972f8fc5e261010bb38bb0fed698f3da9 (patch)
tree7a9cc559d73c3cfd5b4509b6ebcd4397cac15f42 /Makefile
parent6adc4c0709dfdbfc7fb60c875aab5b018e8110af (diff)
add make fonts (ttf)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 512e1ea..684f489 100644
--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,22 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+PREFIX ?= /usr
+SHAREDIR ?= $(PREFIX)/share
+DESTDIR ?= $(SHAREDIR)
+
all: fonts
fonts:
- make -C src/fnt
+ $(MAKE) -C $(CURDIR)/src/fnt
clean: clean-fonts
clean-fonts:
- make -C src/fnt clean
+ $(MAKE) -C $(CURDIR)/src/fnt clean
+
+install: install-fonts
+install-fonts: fonts
+ $(MAKE) -C $(CURDIR)/src/fnt install
+
+unistall: uninstall-fonts
+uninstall-fonts:
+ $(MAKE) -C $(CURDIR)/src/fnt uninstall