mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added SDESTDIR as /usr/local/sbin
SVN revision: 146
This commit is contained in:
parent
a55997e9d4
commit
85db13a97c
6
Makefile
6
Makefile
@ -11,7 +11,8 @@ CC = gcc
|
||||
LIBS =
|
||||
CFLAGS = -g -O
|
||||
EXECS = elog elogd elconv
|
||||
DESTDIR = /usr/local/sbin
|
||||
DESTDIR = /usr/local/bin
|
||||
SDESTDIR = /usr/local/sbin
|
||||
|
||||
INSTALL = /usr/bin/install
|
||||
RM = /bin/rm
|
||||
@ -34,7 +35,8 @@ all: $(EXECS)
|
||||
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
|
||||
|
||||
install: $(EXECS)
|
||||
$(INSTALL) -m 0755 -o bin -g bin $(EXECS) $(DESTDIR)
|
||||
$(INSTALL) -m 0755 -o bin -g bin elog elconv $(DESTDIR)
|
||||
$(INSTALL) -m 0755 -o bin -g bin elogd $(SDESTDIR)
|
||||
|
||||
clean:
|
||||
-$(RM) *~ $(EXECS)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user