summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen'ichi Fukamachi <fukachan@fml.org>2018-09-08 19:33:38 +0900
committerKen'ichi Fukamachi <fukachan@fml.org>2018-09-08 19:33:38 +0900
commitaa5da8d7dc17b1f5297f482ab2d2882e1dfdadd4 (patch)
treef82443ebae4936832838262e45846cebeb83b317
parentfccfdadeef9a650ed9189bb9751a331d2931a098 (diff)
downloadfml8-aa5da8d7dc17b1f5297f482ab2d2882e1dfdadd4.tar.gz
fml8-aa5da8d7dc17b1f5297f482ab2d2882e1dfdadd4.tar.bz2
fml8-aa5da8d7dc17b1f5297f482ab2d2882e1dfdadd4.zip
Makefile template, which ./configure generates Makefile from.
-rw-r--r--Makefile.in63
1 files changed, 63 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
new file mode 100644
index 00000000..6ca693a8
--- /dev/null
+++ b/Makefile.in
@@ -0,0 +1,63 @@
+#
+# $FML: Makefile,v 1.24 2003/07/24 23:25:47 fukachan Exp $
+#
+
+PERL = @PERL@
+GIT = @GIT@
+
+all: usage
+
+usage:
+ @ echo "make install install"
+ @ echo ""
+ @ echo "make doc generate documents"
+ @ echo "make tutorial generate turorials"
+ @ echo ""
+ @ echo "make clean "
+
+install:
+ ${PERL} ./install.pl fml/etc/install.cf
+
+scan:
+ @ ${GIT} status -s
+
+update:
+ @ ${GIT} pull --rebase
+
+clean:
+ @ find . | grep '~' | ${PERL} -nple unlink
+
+doc: text html
+
+html: _new_doc _html ja.doc en.doc
+
+text: gen_changes
+
+gen_changes:
+ test -d Documentation/ja/text || mkdir Documentation/ja/text
+ test -d Documentation/en/text || mkdir Documentation/en/text
+ - cp CHANGES.txt Documentation/ja/text
+ - fml/utils/bin/del_jaline.pl CHANGES.txt \
+ > Documentation/en/text/CHANGES.txt
+
+_new_doc:
+ test -d Documentation/en/modules || mkdir Documentation/en/modules
+ -fml/utils/bin/pm2txt.pl fml/lib Documentation/en/modules
+ -fml/utils/bin/pm2txt.pl cpan/lib Documentation/en/modules
+ -fml/utils/bin/pm2txt.pl img/lib Documentation/en/modules
+
+_html:
+ @ (cd cpan/dist/; make html)
+ @ (cd img/dist/; make html)
+
+ja.doc:
+ @ (cd fml/doc/ja/; make clean; make ; make clean)
+
+en.doc:
+ @ (cd fml/doc/en/; make clean; make ; make clean)
+
+regen: fml/etc/paths.cf.in
+
+fml/etc/paths.cf.in: configure.in
+ ./fml/utils/bin/gen_paths.cf.pl configure.in > fml/etc/paths.cf.in.new
+ mv fml/etc/paths.cf.in.new fml/etc/paths.cf.in