Changed po/POTFILES.in to be a generated file.
[pspp-builds.git] / Smake
1 Makefile po/Makefile.in: Makefile.in configure install-sh config.h.in po/Makefile.in.in po/POTFILES.in
2         ./configure
3
4 configure:  configure.ac aclocal.m4
5         autoconf
6
7 config.h.in: configure.ac
8         autoheader
9
10 aclocal.m4:
11         aclocal -I m4
12
13 .PHONY: po/POTFILES.in
14 po/POTFILES.in: 
15         @$(RM) po/potfile-temp
16         ls -1 src/*.[cq] > po/potfile-temp
17         @if ( ! test -e $@ ) || ( ! diff  -q po/potfile-temp $@ ) ; then  mv po/potfile-temp $@ ; else $(RM) po/potfile-temp ; fi
18
19 install-sh Makefile.in: intl Makefile.am aclocal.m4 config.h.in ABOUT-NLS
20         automake --add-missing
21
22 po/Makefile.in.in intl ABOUT-NLS:
23         touch -f Makefile.am Makefile.am-stamp
24         touch -f configure.ac configure.ac-stamp
25         cp -a configure.ac configure.ac-bak
26         cp -a Makefile.am Makefile.am-bak
27         gettextize -f -c --no-changelog --intl
28         cp -a Makefile.am-bak Makefile.am
29         touch -f Makefile.am-stamp Makefile.am
30         cp -a configure.ac-bak configure.ac
31         touch -f configure.ac-stamp configure.ac
32         $(RM) configure.ac-bak configure.ac-stamp
33         $(RM) Makefile.am-bak Makefile.am-stamp
34
35
36
37 .PHONY: clean
38 clean:
39         $(RM) config.sub config.guess
40         $(RM) ABOUT-NLS
41         $(RM) -r autom4te.cache
42         $(RM) aclocal.m4
43         $(RM) missing mkinstalldirs
44         $(RM) install-sh
45         $(RM) configure Makefile Makefile.in
46         $(RM) depcomp
47         $(RM) -r m4 intl
48         $(RM) po/ChangeLog \
49         po/Makefile \
50         po/Makefile.in \
51         po/Makefile.in.in \
52         po/POTFILES \
53         po/POTFILES.in \
54         po/Rules-quot \
55         po/boldquot.sed \
56         po/cat-id-tbl.c \
57         po/en@boldquot.header \
58         po/en@quot.header \
59         po/insert-header.sin \
60         po/quot.sed \
61         po/remove-potcdate.sin \
62         po/stamp-po \
63         po/Makevars.template