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 replaced the select() calls by poll() to cleanly fix the problems with
many file descriptors already open many file descriptors already open
Makefile now supports datarootdir (thanks to Camillo Lugaresi for
providing the patch)
####################### V 1.6.0.1: ####################### V 1.6.0.1:
new features: new features:

View file

@ -15,6 +15,7 @@ exec_prefix = @exec_prefix@
BINDEST = @bindir@ BINDEST = @bindir@
datarootdir = @datarootdir@
MANDEST = @mandir@ MANDEST = @mandir@
srcdir = @srcdir@ srcdir = @srcdir@
@ -124,13 +125,13 @@ doc: doc/xio.help
strip: progs strip: progs
strip $(PROGS) strip $(PROGS)
install: progs doc/socat.1 install: progs $(srcdir)/doc/socat.1
mkdir -p $(DESTDIR)$(BINDEST) mkdir -p $(DESTDIR)$(BINDEST)
$(INSTALL) -m 755 socat $(DESTDIR)$(BINDEST) $(INSTALL) -m 755 socat $(DESTDIR)$(BINDEST)
$(INSTALL) -m 755 procan $(DESTDIR)$(BINDEST) $(INSTALL) -m 755 procan $(DESTDIR)$(BINDEST)
$(INSTALL) -m 755 filan $(DESTDIR)$(BINDEST) $(INSTALL) -m 755 filan $(DESTDIR)$(BINDEST)
mkdir -p $(DESTDIR)$(MANDEST)/man1 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: uninstall:
rm -f $(DESTDIR)$(BINDEST)/socat rm -f $(DESTDIR)$(BINDEST)/socat