Re: [AD] [PATCH] Installation of info files [3.9.25] |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Oops, that was dumb of me. Forgot to attach the patch... here it is.
-Gary Simmons
--- makefile.in~ Tue Aug 3 00:22:42 1999
+++ makefile.in Wed Aug 4 23:53:58 1999
@@ -17,6 +17,7 @@
OBJ = .o
OBJDIR = obj/unix
LIBDIR = lib/unix
+INFO_DIR = /etc/info-dir
ACLOCAL = aclocal
ACLOCAL_M4 = $(srcdir)/aclocal.m4
@@ -26,6 +27,8 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
+INSTALL_INFO_DIR = /sbin/install-info
+
transform = @program_transform_name@
CC = @CC@
@@ -255,7 +258,10 @@
done
install-docs:
- @echo todo: make this install the info file
+ @echo Installing Allegro info documentation...
+ $(INSTALL_DATA) $(srcdir)/docs/allegro.info $(infodir)
+ $(INSTALL_INFO_DIR) $(infodir)/allegro.info $(INFO_DIR)
+ gzip -9 $(infodir)/allegro.info
makefile.dep: makefile $(srcdir)/makefile.lst $(srcdir)/misc/deplib.sh \
$(srcdir)/misc/deplexe.sh $(srcdir)/misc/depnexe.sh \