mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Use a character, that can't be used in rpm Version and Release tag, as the delimiter in sed expressions. Fixes: #25 Signed-off-by: Dan Horák <dan@danny.cz> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
21 lines
587 B
Makefile
21 lines
587 B
Makefile
include ../common.mak
|
|
|
|
all: xcec-bridge
|
|
|
|
xcec-bridge: xcec-bridge.o
|
|
|
|
clean:
|
|
rm -f *.o core xcec-bridge
|
|
|
|
install: ip_watcher.pl xcec-bridge start_hsnc.sh
|
|
$(SED) -e 's/%S390_TOOLS_VERSION%/$(S390_TOOLS_RELEASE)/' \
|
|
< start_hsnc.sh >$(DESTDIR)$(USRSBINDIR)/start_hsnc.sh; \
|
|
chown $(OWNER).$(GROUP) $(DESTDIR)$(USRSBINDIR)/start_hsnc.sh; \
|
|
chmod 755 $(DESTDIR)$(USRSBINDIR)/start_hsnc.sh; \
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 ip_watcher.pl \
|
|
$(DESTDIR)$(USRSBINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 xcec-bridge \
|
|
$(DESTDIR)$(USRSBINDIR)
|
|
|
|
.PHONY: all install clean
|