Skip to content

Commit

Permalink
new languages dir (apertium-nob) and some updates to -kaz
Browse files Browse the repository at this point in the history
  • Loading branch information
ftyers committed Oct 12, 2013
0 parents commit 3f22db6
Show file tree
Hide file tree
Showing 13 changed files with 102,733 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
* text=auto !eol
/AUTHORS -text
/COPYING -text
/ChangeLog -text
/Makefile.am -text
/NEWS -text
/README -text
/apertium-nob.nob.dix -text
/apertium-nob.nob.rlx -text
/apertium-nob.pc.in -text
/autogen.sh -text
/configure.ac -text
/modes.xml -text
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Copyright (C) 2008--2010 Francis Tyers <[email protected]>
Copyright (C) 2009--2010 Kevin Brubeck Unhammer <[email protected]>
Copyright (C) 2008--2010 Trond Trosterud <[email protected]>
340 changes: 340 additions & 0 deletions COPYING

Large diffs are not rendered by default.

Empty file added ChangeLog
Empty file.
62 changes: 62 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
###############################################################################
## Makefile for apertium-nob
###############################################################################

RELEASE=0.1
VERSION=0.1.0
LANG1=nob
BASENAME=apertium-$(LANG1)

TARGETS_COMMON = $(LANG1).automorf.bin $(LANG1).autogen.bin \
$(LANG1).automorf.att.gz $(LANG2).autogen.att.gz \
$(LANG1).rlx.bin modes

###############################################################################
## Norwegian Bokmål transducer
###############################################################################

$(LANG1).autogen.bin: $(BASENAME).$(LANG1).dix
lt-comp rl $< $@

$(LANG1).automorf.bin: $(BASENAME).$(LANG1).dix
lt-comp lr $< $@

$(LANG1).autogen.att.gz: $(LANG1).autogen.bin
lt-print $< | gzip -9 -c > $@

$(LANG1).automorf.att.gz: $(LANG1).automorf.bin
lt-print $< | gzip -9 -c > $@

###############################################################################
## Disambiguation rules
###############################################################################

$(LANG1).rlx.bin: $(BASENAME).$(LANG1).rlx
cg-comp $< $@

###############################################################################
## Installation stuff
###############################################################################
#
# apertium_nob_libdir: This is where the compiled binaries go
# apertium_nob_srcdir: This is where the source files go

modes: modes.xml
apertium-gen-modes modes.xml

apertium_nobdir=$(prefix)/lib/apertium/$(BASENAME)/
apertium_nob_srcdir=$(prefix)/share/apertium/$(BASENAME)/

apertium_nob_DATA=$(LANG1).automorf.bin $(LANG1).autogen.bin \
$(LANG1).automorf.att.gz $(LANG1).autogen.att.gz \
$(LANG1).rlx.bin modes

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(BASENAME).pc

install-data-local:
if [ ! -d $(DESTDIR)$(apertium_nob_srcdir) ]; then mkdir -p $(DESTDIR)$(apertium_nob_srcdir); fi
$(INSTALL_DATA) $(BASENAME).$(LANG1).dix $(DESTDIR)$(apertium_nob_srcdir)
$(INSTALL_DATA) $(BASENAME).$(LANG1).rlx $(DESTDIR)$(apertium_nob_srcdir)

CLEANFILES = -r $(TARGETS_COMMON) .deps/
Empty file added NEWS
Empty file.
Empty file added README
Empty file.
Loading

0 comments on commit 3f22db6

Please sign in to comment.