We can't call that file `version.texi' since that's some king of "magic"
name for automake, so I renamed it to `auto-macros.texi'. 1999-05-16 Martin Baulig <martin@home-of-linux.org> * Makefile.am: Create `auto-macros.texi' from `auto-macros.texi.in' which will contain some `@set' commands for the LibGTop version etc. * auto-macros.texi.in: New file. This is a template for `auto-macros.texi' which will be automatically generated.
This commit is contained in:
committed by
Martin Baulig
parent
2c4568119c
commit
bedec591a2
@@ -4,4 +4,4 @@ Makefile.in
|
||||
Makefile
|
||||
*.log *.toc *.dvi *.aux *.cp *.fn *.vr *.tp *.ky *.pg
|
||||
*.ps
|
||||
version.texi
|
||||
auto-macros.texi
|
||||
|
@@ -1,10 +1,10 @@
|
||||
1999-05-16 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* Makefile.am: Create `version.texi' from `version.texi.in' which
|
||||
will contain some `@set' commands for the LibGTop version etc.
|
||||
* Makefile.am: Create `auto-macros.texi' from `auto-macros.texi.in'
|
||||
which will contain some `@set' commands for the LibGTop version etc.
|
||||
|
||||
* version.texi.in: New file. This is a template for `version.texi'
|
||||
which will be generated from Makefile.am.
|
||||
* auto-macros.texi.in: New file. This is a template for
|
||||
`auto-macros.texi' which will be automatically generated.
|
||||
|
||||
1999-05-09 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
|
@@ -1,10 +1,11 @@
|
||||
info_TEXINFOS = libgtop.texi
|
||||
|
||||
libgtop_TEXINFOS = libgtop.texi about.texi reference.texi version.texi
|
||||
libgtop_TEXINFOS = libgtop.texi about.texi reference.texi \
|
||||
auto-macros.texi
|
||||
|
||||
EXTRA_DIST = version.texi.in
|
||||
EXTRA_DIST = auto-macros.texi.in
|
||||
|
||||
version.texi: version.texi.in Makefile
|
||||
auto-macros.texi: auto-macros.texi.in Makefile
|
||||
## Use sed and then mv to avoid problems if the user interrupts.
|
||||
sed -e 's#\%LIBGTOP_LIBDIR\%#$(libdir)#g' \
|
||||
-e 's#\%LIBGTOP_INCLUDEDIR\%#$(includedir)#g' \
|
||||
@@ -31,11 +32,11 @@ version.texi: version.texi.in Makefile
|
||||
-e 's#\%libgtop_use_machine_h\%#$(libgtop_use_machine_h)#g' \
|
||||
-e 's#\%libgtop_guile_found\%#$(libgtop_guile_found)#g' \
|
||||
-e 's#\%libgtop_want_examples\%#$(libgtop_want_examples)#g' \
|
||||
< $(srcdir)/version.texi.in > version.tmp
|
||||
echo '@c Set this if this is LibGTop 1.1.x' >> version.tmp
|
||||
< $(srcdir)/auto-macros.texi.in > auto-macros.tmp
|
||||
echo '@c Set this if this is LibGTop 1.1.x' >> auto-macros.tmp
|
||||
if [ $(LIBGTOP_VERSION_CODE) -ge 1001000 ] ; then \
|
||||
echo '@set LIBGTOP_1_1' >> version.tmp ; \
|
||||
echo '@set LIBGTOP_1_1' >> auto-macros.tmp ; \
|
||||
else \
|
||||
echo '@clear LIBGTOP_1_1' >> version.tmp ; \
|
||||
echo '@clear LIBGTOP_1_1' >> auto-macros.tmp ; \
|
||||
fi
|
||||
mv version.tmp version.texi
|
||||
mv auto-macros.tmp auto-macros.texi
|
||||
|
@@ -33,7 +33,8 @@ LibGTop Reference Manual
|
||||
* glibtop_proc_mem:: Process Memory Information.
|
||||
@end menu
|
||||
|
||||
@include version.texi
|
||||
@include auto-macros.texi
|
||||
|
||||
@include about.texi
|
||||
@include reference.texi
|
||||
|
||||
|
Reference in New Issue
Block a user