Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Commit

Permalink
Add makefile
Browse files Browse the repository at this point in the history
Replaces the old Python script, now Python is not needed to build the
font, only FontForge with the legacy scripting.
  • Loading branch information
khaledhosny committed Oct 5, 2010
1 parent 196f4ca commit 81cac7c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 14 deletions.
28 changes: 28 additions & 0 deletions Makefile
@@ -0,0 +1,28 @@
NAME=neo-euler
VERSION=0.002

FF=fontforge -lang=ff
FFLAGES=0x200000
SCRIPT='Open($$1); Generate($$2, "", $(FFLAGES))'

SFDS=euler.sfd
OTFS=$(SFDS:.sfd=.otf)

all: otf

otf: $(OTFS)

%.otf : %.sfd
$(FF) -c $(SCRIPT) $< $@

dist: $(OTFS)
mkdir -p $(NAME)-$(VERSION)/sources
cp $(SFDS) $(NAME)-$(VERSION)/sources
cp $(OTFS) $(NAME)-$(VERSION)
cp OFL-FAQ.txt OFL.txt README $(NAME)-$(VERSION)
cp Makefile $(NAME)-$(VERSION)

tar cfj $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)

clean:
rm -rf $(OTFS) $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.bz2
14 changes: 0 additions & 14 deletions utils/genereate.py

This file was deleted.

0 comments on commit 81cac7c

Please sign in to comment.