1 |
## Makefile.maint -- Makefile rules for libtool maintainers -*-Makefile-*- |
## Makefile.maint -- Makefile rules for m4 maintainers -*-Makefile-*- |
2 |
## |
## |
3 |
## Copyright (C) 2004, 2005 Free Software Foundation |
## Copyright (C) 2004, 2005 Free Software Foundation |
4 |
## |
## |
42 |
echo " *** $$xdeltaname, $$xdeltaname.sig and";\ |
echo " *** $$xdeltaname, $$xdeltaname.sig and";\ |
43 |
echo " *** $$xdeltaname.directive.asc to either" |
echo " *** $$xdeltaname.directive.asc to either" |
44 |
echo " *** /incoming/alpha or /incoming/ftp on ftp-upload.gnu.org." |
echo " *** /incoming/alpha or /incoming/ftp on ftp-upload.gnu.org." |
|
echo " *** You might need to upload manual.html to webcvs/libtool." |
|
45 |
|
|
46 |
.PHONY: version-check |
.PHONY: version-check |
47 |
version-check: |
version-check: |
64 |
|
|
65 |
# TSDEPS will be defined to TSDEPS_DIST at `make dist' time |
# TSDEPS will be defined to TSDEPS_DIST at `make dist' time |
66 |
TSDEPS = |
TSDEPS = |
67 |
TSDEPS_DIST = ChangeLog m4/libtool.m4 |
TSDEPS_DIST = ChangeLog |
68 |
CVS = cvs # set it to `:' to avoid CVS operations |
CVS = cvs # set it to `:' to avoid CVS operations |
69 |
|
|
70 |
.PHONY: timestamps update-timestamps |
.PHONY: timestamps update-timestamps |
78 |
.PHONY: cvs-news |
.PHONY: cvs-news |
79 |
cvs-news: |
cvs-news: |
80 |
## Make sure the NEWS file is up-to-date: |
## Make sure the NEWS file is up-to-date: |
81 |
@if sed '1,2d;3q' $(srcdir)/NEWS | grep -e "$(VERSION)" >/dev/null; \ |
@if sed '1,3d;4q' $(srcdir)/NEWS | grep -e "$(VERSION)" >/dev/null; \ |
82 |
then :; \ |
then :; \ |
83 |
else \ |
else \ |
84 |
echo "NEWS not updated; not releasing" 1>&2; \ |
echo "NEWS not updated; not releasing" 1>&2; \ |
105 |
(cd Fetchdir && \ |
(cd Fetchdir && \ |
106 |
$(WGETSGO)/autoconf/autoconf/INSTALL; \ |
$(WGETSGO)/autoconf/autoconf/INSTALL; \ |
107 |
$(WGETSGO)/automake/automake/lib/install-sh; \ |
$(WGETSGO)/automake/automake/lib/install-sh; \ |
108 |
$(WGETSGO)/texinfo/texinfo/doc/texinfo.tex ) |
$(WGETSGO)/texinfo/texinfo/doc/texinfo.tex; \ |
109 |
|
$(WGETSGO)/texinfo/texinfo/util/gendocs.sh; \ |
110 |
|
$(WGETSGO)/texinfo/texinfo/util/gendocs_template; ) |
111 |
## Don't exit after test because we want to give as many errors as |
## Don't exit after test because we want to give as many errors as |
112 |
## possible. |
## possible. |
113 |
@stat=0; for file in $(FETCHFILES); do \ |
@stat=0; for file in $(FETCHFILES); do \ |
134 |
.PHONY: cvs-dist |
.PHONY: cvs-dist |
135 |
cvs-dist: cvs-news timestamps |
cvs-dist: cvs-news timestamps |
136 |
## Build the distribution: |
## Build the distribution: |
137 |
$(MAKE) distcheck |
$(MAKE) dist |
138 |
## Finally, if everything was successful, tag the release |
## Finally, if everything was successful, tag the release |
139 |
cd $(srcdir) \ |
cd $(srcdir) \ |
140 |
&& $(CVS) -q tag `echo "release-$(VERSION)" | sed 's/\./-/g'` |
&& $(CVS) -q tag `echo "release-$(VERSION)" | sed 's/\./_/g'` |
141 |
## Generate signatures and directives for FSF ftp-upload: |
## Generate signatures and directives for FSF ftp-upload: |
142 |
for suffix in .gz .bz2; do \ |
for suffix in .gz .bz2; do \ |
143 |
ofile="$(PACKAGE)-$(VERSION).tar.$$suffix"; \ |
ofile="$(PACKAGE)-$(VERSION).tar$$suffix"; \ |
144 |
$(GPG) --detach-sign $$ofile \ |
$(GPG) --detach-sign $$ofile \ |
145 |
&& echo "directory: $(PACKAGE)" > $$ofile.directive \ |
&& echo "directory: $(PACKAGE)" > $$ofile.directive \ |
146 |
&& $(GPG) --clearsign $$ofile.directive \ |
&& $(GPG) --clearsign $$ofile.directive \ |
210 |
|
|
211 |
.PHONY: web-manual |
.PHONY: web-manual |
212 |
web-manual: |
web-manual: |
213 |
@$(LN_S) $(top_srcdir)/doc/libtool.texi doc/manual.texi |
@ln -s `cd $(srcdir) && pwd`/doc/$(PACKAGE).texinfo doc/$(PACKAGE).texi |
214 |
$(TEXI2HTML) -I doc -monolithic -number -verbose doc/manual.texi |
@ln -s `cd $(srcdir) && pwd`/doc/version.texi doc/version.texi |
215 |
@mv doc/manual.html manual.html |
@ln -s `pwd`/Fetchdir/gendocs.sh doc/gendocs.sh |
216 |
@rm -f doc/manual.texi |
@ln -s `pwd`/Fetchdir/gendocs_template doc/gendocs_template |
217 |
|
@cd doc; \ |
218 |
|
$(SHELL) ./gendocs.sh $(PACKAGE) "GNU $(PACKAGE) - GNU macro processor" |
219 |
|
@rm -rf doc/$(PACKAGE).texi doc/version.texi doc/gendocs* manual |
220 |
|
@mv -f doc/manual . |
221 |
|
@echo " *** Upload the manual directory to web-cvs." |