1 |
## Makefile.maint -- Makefile rules for libtool maintainers -*-Makefile-*- |
## Makefile.maint -- Makefile rules for libtool maintainers -*-Makefile-*- |
2 |
## |
## |
3 |
## Copyright (C) 2004 Free Software Foundation |
## Copyright (C) 2004, 2005 Free Software Foundation |
4 |
## |
## |
5 |
## This program is free software; you can redistribute it and/or modify |
## 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 |
## it under the terms of the GNU General Public License as published by |
31 |
|
|
32 |
TEXI2HTML = texi2html |
TEXI2HTML = texi2html |
33 |
|
|
34 |
$(top_srcdir)/commit: $(top_srcdir)/config/mailnotify clcommit.m4sh |
$(srcdir)/commit: $(srcdir)/$(auxdir)/mailnotify clcommit.m4sh |
35 |
$(timestamp); \ |
$(timestamp); \ |
36 |
cd $(top_srcdir); \ |
cd $(srcdir); \ |
37 |
rm -f commit commit.in commit.tmp; \ |
rm -f commit commit.in commit.tmp; \ |
38 |
$(M4SH) -B ./config clcommit.m4sh > commit.in; \ |
$(M4SH) -B $(auxdir) clcommit.m4sh > commit.in; \ |
39 |
input="clcommit.m4sh"; \ |
input="clcommit.m4sh"; \ |
40 |
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" commit.in > commit.tmp; \ |
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" commit.in > commit.tmp; \ |
41 |
chmod a+x commit.tmp; \ |
chmod a+x commit.tmp; \ |
43 |
mv -f commit.tmp commit; \ |
mv -f commit.tmp commit; \ |
44 |
rm -f commit.in |
rm -f commit.in |
45 |
|
|
46 |
$(top_srcdir)/config/mailnotify: config/mailnotify.m4sh |
$(srcdir)/$(auxdir)/mailnotify: $(auxdir)/mailnotify.m4sh |
47 |
$(timestamp); \ |
$(timestamp); \ |
48 |
cd $(top_srcdir)/config; \ |
cd $(srcdir)/$(auxdir); \ |
49 |
rm -f mailnotify mailnotify.in mailnotify.tmp; \ |
rm -f mailnotify mailnotify.in mailnotify.tmp; \ |
50 |
$(M4SH) -B . mailnotify.m4sh > mailnotify.in; \ |
$(M4SH) -B . mailnotify.m4sh > mailnotify.in; \ |
51 |
input="mailnotify.m4sh"; \ |
input="mailnotify.m4sh"; \ |
119 |
## FIXME should be a lot more here |
## FIXME should be a lot more here |
120 |
FETCHFILES = \ |
FETCHFILES = \ |
121 |
./INSTALL \ |
./INSTALL \ |
122 |
config/install-sh \ |
$(auxdir)/install-sh \ |
123 |
config/config.guess \ |
$(auxdir)/config.guess \ |
124 |
config/config.sub \ |
$(auxdir)/config.sub \ |
125 |
config/texinfo.tex |
$(auxdir)/texinfo.tex |
126 |
|
|
127 |
## Fetch the latest versions of files we care about. |
## Fetch the latest versions of files we care about. |
128 |
.PHONY: fetch |
.PHONY: fetch |
238 |
|
|
239 |
.PHONY: web-manual |
.PHONY: web-manual |
240 |
web-manual: |
web-manual: |
241 |
@$(LN_S) $(top_srcdir)/doc/libtool.texi doc/manual.texi |
@$(LN_S) $(srcdir)/doc/libtool.texi doc/manual.texi |
242 |
$(TEXI2HTML) -I doc -monolithic -number -verbose doc/manual.texi |
$(TEXI2HTML) -I doc -monolithic -number -verbose doc/manual.texi |
243 |
@mv doc/manual.html manual.html |
@mv doc/manual.html manual.html |
244 |
@rm -f doc/manual.texi |
@rm -f doc/manual.texi |