mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 23:42:34 +00:00
Makefile now supports datarootdir
This commit is contained in:
parent
d70b8963aa
commit
9d7c7f8244
2 changed files with 6 additions and 2 deletions
3
CHANGES
3
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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue