Skip to content

Commit

Permalink
Release 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TinoDidriksen committed Dec 31, 2020
1 parent 2c2f252 commit bbf3f6b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 101 deletions.
25 changes: 14 additions & 11 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
2007-2013, Ivica Dimitrijev
2007-2013, Dejan Čabrilo
2007-2008, Jim O'Regan <joregan@gmail.com>
2007-2008, Proleter <palifra@users.sourceforge.net>
2018, Adrian Bunk <bunk@stusta.de>
2018, Sushain Cherivirala <sushain@skc.name>
2014-2017, Tino Didriksen <mail@tinodidriksen.com>
2012-2015, Kevin Brubeck Unhammer <unhammer@fsfe.org>
2007-2014, Francis M. Tyers <ftyers@prompsit.com>
2007, Jernej Vicic <jernejvicic@users.sourceforge.net>
2007, Troy <tspier2@users.sourceforge.net>
2008, Misoss <misoss@users.sourceforge.net>
2009, Pminervini <pminervini@users.sourceforge.net>
2011-2013, Hrvoje Peradin <hperadin@gmail.com>
2012-2013, Filip Petkovski <filpetkovski@gmail.com>
2011-2012, Ljubisha Rus <slasherdev@users.sourceforge.net>
2011-2013, Hrvoje Peradin <krvoje@users.sourceforge.net>
2011, Trond Trosterud <trond.trosterud@hum.uit.no>
2012-2013, Filip Petkovski <fpetkovski@users.sourceforge.net>
2012-2014, Kevin Brubeck Unhammer <unhammer@fsfe.org>
2012, Anthony J. Bentley <anthonyjbentley@users.sourceforge.net>
2012, Anthony J. Bentley <anthony@anjbe.name>
2012, Cromulen7 <cromulen7@users.sourceforge.net>
2011, Trond Trosterud <trond.trosterud@uit.no>
2009, Pasquale Minervini <p.minervini@gmail.com>
2007-2008, Jim O'Regan <joregan@gmail.com>
2007-2008, Proleter <palifra@users.sourceforge.net>
2008, Misoss <misoss@users.sourceforge.net>
2007, Jernej Vicic <jernej.vicic@upr.si>
2007, Troy <tspier2@gmail.com>
25 changes: 4 additions & 21 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
VERSION=0.1.0
LANG1=hbs
LANG1a=hbs_BS
LANG1b=hbs_HR
Expand All @@ -24,7 +23,9 @@ TARGETS_COMMON = $(BASENAME).$(LANG1a).dix $(BASENAME).$(LANG1b).dix $(BASENAME
$(PREFIX2).t1x.bin $(PREFIX2).t2x.bin $(PREFIX2).t3x.bin \
$(PREFIX1).autopgen.bin $(PREFIX2).autopgen.bin

# $(PREFIX1).autopgen.bin $(PREFIX2).autopgen.bin
# $(PREFIX1).autopgen.bin $(PREFIX2).autopgen.bin

@ap_include@

$(BASENAME).$(LANG1a).dix: $(BASENAME).$(LANG1).metadix
xsltproc --stringparam alt $(LANG1a) --stringparam var $(VAR1) alt.xsl $(BASENAME).$(LANG1).metadix >$@
Expand Down Expand Up @@ -145,15 +146,9 @@ EXTRA_DIST=$(BASENAME).$(LANG1).dix $(BASENAME).$(PREFIX1).dix \
# $(LANG1)-tagger-data/README $(LANG2)-tagger-data/README
# $(BASENAME).post-$(LANG1).dix $(BASENAME).post-$(LANG2).dix

modes/$(PREFIX1).mode: modes.xml
apertium-validate-modes modes.xml
apertium-gen-modes modes.xml
cp *.mode modes/

# All modes are created by the same goal, listing several will just give problems with make -j2
noinst_DATA=modes/$(PREFIX1).mode

apertium_modesdir=$(prefix)/share/apertium/modes/
apertium_hbs_mkddir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
apertium_hbs_mkd_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
$(PREFIX2a).autogen.bin $(PREFIX2b).autogen.bin $(PREFIX2c).autogen.bin \
Expand All @@ -176,18 +171,6 @@ apertium_hbs_mkd_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
# $(PREFIX2).autopgen.bin
# $(PREFIX2).autogen.bin

install-data-local:
mv modes modes.bak
apertium-gen-modes modes.xml apertium-$(PREFIX1)
rm -rf modes
mv modes.bak modes
test -d $(DESTDIR)$(apertium_modesdir) || mkdir $(DESTDIR)$(apertium_modesdir)
$(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_modesdir)
$(INSTALL_DATA) $(PREFIX2a).mode $(DESTDIR)$(apertium_modesdir)
$(INSTALL_DATA) $(PREFIX2b).mode $(DESTDIR)$(apertium_modesdir)
$(INSTALL_DATA) $(PREFIX2c).mode $(DESTDIR)$(apertium_modesdir)
$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_hbs_mkddir)
$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX2).t2x $(DESTDIR)$(apertium_hbs_mkddir)
$(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t3x $(DESTDIR)$(apertium_hbs_mkddir)
install-data-local: install-modes

CLEANFILES = -r $(TARGETS_COMMON)
75 changes: 6 additions & 69 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,76 +1,13 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.


AC_PREREQ(2.52)

AC_INIT([apertium-sh-mk], [0.1.0], [ftyers@users.sourceforge.net])
AM_INIT_AUTOMAKE([apertium-sh-mk], [0.1.0], no-define)
AC_PROG_LN_S
AC_INIT([apertium-sh-mk], [0.1.1], [apertium-stuff@lists.sourceforge.net])
AM_INIT_AUTOMAKE
AC_PROG_AWK
AC_CONFIG_HEADER([config])

AC_PATH_PROG(XSLTPROC, xsltproc, no)
if test x$ac_cv_path_XSLTPROC = x
then
AC_MSG_ERROR([You don't have xsltproc installed.])
fi
if test x$ac_cv_path_XSLTPROC = xno
then
AC_MSG_ERROR([You don't have xsltproc installed.])
fi

m4_define([required_apertium_version], [3.2.0])
PKG_CHECK_MODULES(APERTIUM, apertium >= required_apertium_version, [], [PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= required_apertium_version)])




AC_PATH_PROG(CGCOMP, cg-comp, no)
if test x$ac_cv_path_CGCOMP = x
then
AC_MSG_ERROR([You don't have cg-comp installed.])
fi
if test x$ac_cv_path_CGPROC = xno
then
AC_MSG_ERROR([You don't have cg-comp installed.])
fi

AC_PATH_PROG(CGPROC, cg-proc, no)
if test x$ac_cv_path_CGPROC = x
then
AC_MSG_ERROR([You don't have cg-proc installed.])
fi
if test x$ac_cv_path_CGPROC = xno
then
AC_MSG_ERROR([You don't have cg-proc installed.])
fi

AC_PATH_PROG(LRXCOMP, lrx-comp, no)
if test x$ac_cv_path_LRXCOMP = x
then
AC_MSG_ERROR([You don't have lrx-comp installed.])
fi
if test x$ac_cv_path_LRXCOMP = xno
then
AC_MSG_ERROR([You don't have lrx-comp installed.])
fi

AC_PATH_PROG(LRXPROC, lrx-proc, no)
if test x$ac_cv_path_LRXPROC = x
then
AC_MSG_ERROR([You don't have lrx-proc installed.])
fi
if test x$ac_cv_path_LRXPROC = xno
then
AC_MSG_ERROR([You don't have lrx-proc installed.])
fi




MODES="modes";
PKG_CHECK_MODULES(APERTIUM, apertium >= 3.7.1)
PKG_CHECK_MODULES(APERTIUM_LEX_TOOLS, apertium-lex-tools >= 0.2.6)
PKG_CHECK_MODULES(CG3, cg3 >= 1.3.2)

AC_SUBST(MODES)
AP_MKINCLUDE

AC_OUTPUT([Makefile])

0 comments on commit bbf3f6b

Please sign in to comment.