]> granicus.if.org Git - recode/blob - Makefile.am
make local: remake Web manual
[recode] / Makefile.am
1 # Main Makefile for Recode.
2 # Copyright © 1992,93,94,95,96,97,98,99,00 Free Software Foundation, Inc.
3 # François Pinard <pinard@iro.umontreal.ca>, 1992.
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 # 02111-1307, USA.
19
20 AUTOMAKE_OPTIONS = gnits
21
22 ACLOCAL = ./aclocal.sh @ACLOCAL@
23 ACLOCAL_AMFLAGS = -I m4
24
25 EXTRA_DIST = COPYING-LIB aclocal.sh m4/ChangeLog tables.py \
26 keld/NomsSeulsfinal.lst keld/charsets.def keld/control.def \
27 keld/iso10646.def keld/mnemonics,ds keld/other.def keld/rfc1345.txt
28 SUBDIRS = doc lib po src tests contrib
29
30 # All object files should depend on cleaner.h as well on as config.h.
31 # For now at least, if you modify cleaner.h.in, make twice!
32 all-local: cleaner.h
33
34 get-po-files:
35         cd $(top_srcdir) && \
36           rsync -Lrtvz translationproject.org::tp/latest/recode/ po
37
38 # The following goals for the maintainer of the Recode Web site.
39
40 local:
41         ajuster-web $(top_srcdir)/web
42         make-manual $(top_srcdir)/doc/recode.texi $(top_srcdir)/web/manual
43
44 publish:
45         (cd $(top_srcdir) && \
46           git archive --format=tar --prefix=recode-$(VERSION)/ HEAD .) \
47           | gzip > $(top_srcdir)/web/archives/recode-$(VERSION).tar.gz
48
49 official: publish
50         rm -f $(top_srcdir)/web/archives/recode.tar.gz
51         ln -s recode-$(VERSION).tar.gz $(top_srcdir)/web/archives/recode.tar.gz
52
53 synchro: local
54         du -s $(top_srcdir)/.git
55         cd $(top_srcdir) && git gc --prune
56         du -s $(top_srcdir)/.git
57         find $(top_srcdir) -name '*~' | xargs rm -fv
58         synchro -PD alcyon entretien