1
0
mirror of https://github.com/moparisthebest/socat synced 2024-12-21 22:48:48 -05:00

Makefile now supports datarootdir

This commit is contained in:
Gerhard Rieger 2008-09-21 18:05:53 +02:00
parent d70b8963aa
commit 9d7c7f8244
2 changed files with 6 additions and 2 deletions

View File

@ -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:

View File

@ -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