-
Notifications
You must be signed in to change notification settings - Fork 24
/
Makefile.am
90 lines (69 loc) · 2.74 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Main Makefile for Recode.
# Copyright © 1992,93,94,95,96,97,98,99,00 Free Software Foundation, Inc.
# François Pinard <[email protected]>, 1992.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
AUTOMAKE_OPTIONS = gnits
ACLOCAL = ./aclocal.sh @ACLOCAL@
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = COPYING-LIB aclocal.sh after-patch.py after-patch.sh \
m4/ChangeLog tables.py \
keld/NomsSeulsfinal.lst keld/charsets.def keld/control.def \
keld/iso10646.def keld/mnemonics,ds keld/other.def keld/rfc1345.txt
SUBDIRS = doc lib po src tests contrib
# All object files should depend on cleaner.h as well on as config.h.
# For now at least, if you modify cleaner.h.in, make twice!
all-local: cleaner.h
get-po-files:
cd $(top_srcdir) && \
rsync -Lrtvz translationproject.org::tp/latest/recode/ po
# The following goals for the maintainer of the Recode Web site.
local:
$(MAKE) -C contrib
$(MAKE) manual
manual:
cd $(top_srcdir) \
&& rm -rf web/manual web/manual-tmp \
&& mkdir web/manual web/manual-tmp \
&& makeinfo --html --output=web/manual-tmp doc/recode.texi \
&& cd web/manual-tmp \
&& for file in *.html; do \
sed 's,href=",href="/manual/,g' $$file > ../manual/$$file; \
done
rm -rf $(top_srcdir)/web/manual-tmp
publish:
(cd $(top_srcdir) && \
git archive --format=tar --prefix=recode-$(VERSION)/ HEAD .) \
| gzip > $(top_srcdir)/web/archives/recode-$(VERSION).tar.gz
official: publish
rm -f $(top_srcdir)/web/archives/recode.tar.gz
ln -s recode-$(VERSION).tar.gz $(top_srcdir)/web/archives/recode.tar.gz
synchro: local
du -s --si $(top_srcdir)/.git
cd $(top_srcdir) && git gc --auto --prune
du -s --si $(top_srcdir)/.git
find $(top_srcdir) -name '*~' | xargs rm -fv
synchro -PD alcyon entretien
ifneq "$(wildcard ~/etc/mes-sites/site.mk)" ""
site: site-all
package_name = recode
mgp_base = http://pinard.progiciels-bpi.ca/fp-etc/dist/mgp
margin_color = "\#ff896c"
caption_color = "\#ffffb7"
LOGOURL = "/logo.gif"
GOALS = $(wildcard manual/*.html)
include ~/etc/mes-sites/site.mk
$(htmldir)/manual/%.html: manual/%.html
@[ -d $(htmldir)/manual ] || mkdir -v $(htmldir)/manual
@$(xsl-html)
endif