[patch] Fix out-of-tree builds

Andreas Metzler <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
Hello,

find attached a trivial patch to fix out of tree builds (mkdir blah ;
cd blah ; ../configure ...)

TIA, cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
40_out-of-tree-build.diff (text/x-diff, 361 B)
--- lynx-2.9.1.orig/po/makefile.inn
+++ lynx-2.9.1/po/makefile.inn
@@ -118,7 +118,7 @@ all-yes: $(SOURCES) $(CATALOGS)
 all-no:
 
 en.po :
-	msginit --no-translator -l en -i $(PACKAGE).pot
+	msginit --no-translator -l en -i $(srcdir)/$(PACKAGE).pot
 # cygwin's msginit 1.19.3 creates "en_US.po" rather than "en.po"...
 	@$(SHELL) -c 'for n in en*.po; \
 		do \
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.