diff --git a/CHANGES b/CHANGES index e78e07a..04443c7 100644 --- a/CHANGES +++ b/CHANGES @@ -35,6 +35,9 @@ corrections: replaced the select() calls by poll() to cleanly fix the problems with many file descriptors already open + Makefile now supports datarootdir (thanks to Camillo Lugaresi for + providing the patch) + ####################### V 1.6.0.1: new features: diff --git a/Makefile.in b/Makefile.in index 583985b..e5b1f29 100644 --- a/Makefile.in +++ b/Makefile.in @@ -15,6 +15,7 @@ exec_prefix = @exec_prefix@ BINDEST = @bindir@ +datarootdir = @datarootdir@ MANDEST = @mandir@ srcdir = @srcdir@ @@ -124,13 +125,13 @@ doc: doc/xio.help strip: progs strip $(PROGS) -install: progs doc/socat.1 +install: progs $(srcdir)/doc/socat.1 mkdir -p $(DESTDIR)$(BINDEST) $(INSTALL) -m 755 socat $(DESTDIR)$(BINDEST) $(INSTALL) -m 755 procan $(DESTDIR)$(BINDEST) $(INSTALL) -m 755 filan $(DESTDIR)$(BINDEST) mkdir -p $(DESTDIR)$(MANDEST)/man1 - $(INSTALL) -m 644 doc/socat.1 $(DESTDIR)$(MANDEST)/man1/ + $(INSTALL) -m 644 $(srcdir)/doc/socat.1 $(DESTDIR)$(MANDEST)/man1/ uninstall: rm -f $(DESTDIR)$(BINDEST)/socat