Skip to content
Snippets Groups Projects
Commit fcb77720 authored by Jean-Noël Avila's avatar Jean-Noël Avila
Browse files

Embed all the specific stuff into the Makefile

parent ee7b75b0
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ cache: bundler ...@@ -4,7 +4,7 @@ cache: bundler
before_install: before_install:
- sh ci/install_po4a.sh - sh ci/install_po4a.sh
script: script:
- sh ci/build.sh - make all
addons: addons:
apt: apt:
packages: packages:
......
...@@ -27,7 +27,7 @@ po4a.conf: create_po4a_conf.sh sources.txt ...@@ -27,7 +27,7 @@ po4a.conf: create_po4a_conf.sh sources.txt
./create_po4a_conf.sh ./create_po4a_conf.sh
po4a-stamp: po4a.conf $(EN_SOURCES) $(LANGUAGE_PO) Makefile po4a-stamp: po4a.conf $(EN_SOURCES) $(LANGUAGE_PO) Makefile
$(QUIET_PO4A)po4a -v po4a.conf $(QUIET_PO4A)PERL5LIB=./po4a/lib po4a/po4a -v po4a.conf
@touch $@ @touch $@
update-sources: update-sources:
...@@ -36,7 +36,7 @@ update-sources: ...@@ -36,7 +36,7 @@ update-sources:
define MAKE_TARGET define MAKE_TARGET
$(1)_$(2): $(1)_$(2):
@echo $lang; cd $(2) && $(MAKE) -f ../makefile.locale $(1) lang=$(2) @echo $lang;bundle exec $(MAKE) -C $(2) -f ../makefile.locale $(1) lang=$(2)
$(1): $(1)_$(2) $(1): $(1)_$(2)
......
#!/bin/sh
export PERLLIB=$(pwd)/po4a/lib
export PERL5LIB=$(pwd)/po4a/lib
export PATH=$PATH:$(pwd)/po4a
bundle exec make all
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment