[AD] Make targets install-man, install-info fail

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi all,

maybe it's just me, but the install-man and install-info targets fail for
me unless I run `make docs' first.
I made a patch that makes install-info and install-man depend on docs.
--- makefile.in	Sat Nov 17 14:03:47 2001
+++ makefile.new.in	Sat Nov 17 14:01:28 2001
@@ -382,7 +382,7 @@
 	  fi; \
 	done
 
-install-info:
+install-info: docs
 	@echo Installing Allegro info documentation...
 	$(mkinstalldirs) $(infodir)
 	@$(INSTALL_DATA) docs/allegro.info $(infodir)
@@ -400,14 +400,14 @@
 	@echo Compressing documentation...
 	@gzip -9 -f $(infodir)/allegro.info
 
-install-man:
+install-man: docs
 	$(mkinstalldirs) $(mandir)/man3
 	@for file in $(srcdir)/docs/*.3; do \
 	  echo Installing $$file to $(mandir)/man3; \
 	  $(INSTALL_DATA) $$file $(mandir)/man3/; \
 	done
 
-install-gzipped-man:
+install-gzipped-man: docs
 	$(mkinstalldirs) $(mandir)/man3
 	@for file in $(srcdir)/docs/*.3; do \
 	  echo Installing $$file.gz to $(mandir)/man3; \
-- 
Evert Glebbeek, Physics student
Faculty of science, University of Amsterdam
e-mail: eglebbk@xxxxxxxxxx   ICQ: 48210348
www: http://www.science.uva.nl/~eglebbk/ 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/